1
0
Fork 0
mirror of synced 2025-04-01 20:36:14 +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">
<entity name="Doctrine\Tests\Models\OrnementalOrphanRemoval\Person" table="ornemental_orphan_removal_person">
<id name="id" column="id">
<generator strategy="UUID" />
<generator strategy="NONE" />
</id>
</entity>
</doctrine-mapping>

View file

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