[DMIG-39] Issue when using serjal columns in PostgreSQL with Doctrine ORM Identity fields Created: 24/Apr/13 Updated: 24/Apr/13 Resolved: 24/Apr/13
|Reporter:||jos de witte||Assignee:||Marco Pivetta|
PostgreSQL and migrations
When using Doctrine ORM mapping fields like this:
It first creates the migration perfectly as a serial column with the correct schema.
However when making a new migration diff it generates DROP statements for every sequence for these id, so we have to remove them manually every time.
|Comment by Marco Pivetta [ 24/Apr/13 ]|
This is a DBAL problem.
Please verify this with the DBAL diff tools (latest master) only and eventually report a DBAL issue without involving migrations.