X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=vendor%2Fdoctrine%2Form%2Ftests%2FDoctrine%2FTests%2FORM%2FMapping%2Fphp%2FDoctrine.Tests.ORM.Mapping.DDC807Entity.php;fp=vendor%2Fdoctrine%2Form%2Ftests%2FDoctrine%2FTests%2FORM%2FMapping%2Fphp%2FDoctrine.Tests.ORM.Mapping.DDC807Entity.php;h=1682d7a0de88f377f9ae4f8a9b6b5d580c7f4209;hb=8b04b2d11798dee4f3e1358e4f43e97a6df851f6;hp=0000000000000000000000000000000000000000;hpb=73568cf05a785a45f94ca3f2351d9e07bf917958;p=zf2.biz%2Fgalerie.git diff --git a/vendor/doctrine/orm/tests/Doctrine/Tests/ORM/Mapping/php/Doctrine.Tests.ORM.Mapping.DDC807Entity.php b/vendor/doctrine/orm/tests/Doctrine/Tests/ORM/Mapping/php/Doctrine.Tests.ORM.Mapping.DDC807Entity.php new file mode 100644 index 0000000..1682d7a --- /dev/null +++ b/vendor/doctrine/orm/tests/Doctrine/Tests/ORM/Mapping/php/Doctrine.Tests.ORM.Mapping.DDC807Entity.php @@ -0,0 +1,15 @@ +mapField(array( + 'id' => true, + 'fieldName' => 'id', +)); + +$metadata->setDiscriminatorColumn(array( + 'name' => "dtype", + 'columnDefinition' => "ENUM('ONE','TWO')" +)); + +$metadata->setIdGeneratorType(ClassMetadataInfo::GENERATOR_TYPE_NONE); \ No newline at end of file