Partial subscriber_notification_idx index recreation.

Issue #45 resolved
Alexey Eschenko repo owner created an issue

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)

  1. Log in to comment