- edited description
Partial subscriber_notification_idx index recreation.
Issue #45
resolved
Doctrine tries to recreate partial indexes each time.
-- You can also see that index names are generated without schema name which is other bug (I think it's known)
DROP INDEX rename_notification_idx;
DROP INDEX subscriber_notification_idx;
CREATE INDEX rename_notification_idx ON users.telegram_accounts (rename_notification) WHERE rename_notification = TRUE;
CREATE INDEX subscriber_notification_idx ON users.telegram_accounts (subscriber_notification) WHERE subscriber_notification = TRUE;
Corresponding bug: https://github.com/doctrine/doctrine2/issues/6218#issuecomment-381138100
Comments (3)
-
reporter -
reporter - changed status to resolved
Fix
#45. Doctrine partial index recreation on new migration generation fixed.→ <<cset a893de0aaa0b>>
-
reporter Fix
#45. Doctrine partial index recreation on new migration generation fixed.→ <<cset f8dfe4e103f6>>
- Log in to comment