Disable uuid generation
Apparently, setting a value by hand is not enough to avoid it.
This commit is contained in:
parent
57e9feffb2
commit
ffd3d34f34
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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" />
|
||||
|
|
Loading…
Add table
Reference in a new issue