[DC-830] Migration for up() not adding suffix for index Created: 16/Aug/10 Updated: 21/Aug/10
|Reporter:||webPragmatist||Assignee:||Jonathan H. Wage|
Postgresql 8.4 / Symfony 1.4.6
I am still getting the same issue as previously closed a while ago on trac http://trac.doctrine-project.org/ticket/1964
The above migration generates an index named category_sluggable instead of category_sluggable_idx
|Comment by webPragmatist [ 16/Aug/10 ]|
If I change the name in the up() to category_sluggable_idx both up and down work properly.
|Comment by Jakub Argasiński [ 21/Aug/10 ]|
Confirming. I had the same problem last week and as a workaround I had to change suffix from "%s_idx" to "%s". Even if the bug is not reproducible in a test case, it indeed happens in live environment on PostgreSQL (in my case, Symphony is not used).