1
0
Fork 0
mirror of synced 2025-04-03 05:13:37 +03:00

Disable uuid generation

Apparently, setting a value by hand is not enough to avoid it.
This commit is contained in:
Grégoire Paris 2017-10-14 11:25:09 +02:00
parent 57e9feffb2
commit ffd3d34f34
No known key found for this signature in database
GPG key ID: 24D48B8012B116BF
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@
https://raw.github.com/doctrine/doctrine2/master/doctrine-mapping.xsd"> https://raw.github.com/doctrine/doctrine2/master/doctrine-mapping.xsd">
<entity name="Doctrine\Tests\Models\OrnementalOrphanRemoval\Person" table="ornemental_orphan_removal_person"> <entity name="Doctrine\Tests\Models\OrnementalOrphanRemoval\Person" table="ornemental_orphan_removal_person">
<id name="id" column="id"> <id name="id" column="id">
<generator strategy="UUID" /> <generator strategy="NONE" />
</id> </id>
</entity> </entity>
</doctrine-mapping> </doctrine-mapping>

View file

@ -6,7 +6,7 @@
https://raw.github.com/doctrine/doctrine2/master/doctrine-mapping.xsd"> https://raw.github.com/doctrine/doctrine2/master/doctrine-mapping.xsd">
<entity name="Doctrine\Tests\Models\OrnementalOrphanRemoval\PhoneNumber" table="ornemental_orphan_removal_phone_number"> <entity name="Doctrine\Tests\Models\OrnementalOrphanRemoval\PhoneNumber" table="ornemental_orphan_removal_phone_number">
<id name="id" column="id"> <id name="id" column="id">
<generator strategy="UUID" /> <generator strategy="NONE" />
</id> </id>
<many-to-one target-entity="Doctrine\Tests\Models\OrnementalOrphanRemoval\Person" field="person" orphan-removal="true" > <many-to-one target-entity="Doctrine\Tests\Models\OrnementalOrphanRemoval\Person" field="person" orphan-removal="true" >
<join-column on-delete="SET NULL" /> <join-column on-delete="SET NULL" />