Skip to content

Fix index creation 3#4653

Merged
dartcafe merged 4 commits intomainfrom
fix/index-creation-3
Apr 27, 2026
Merged

Fix index creation 3#4653
dartcafe merged 4 commits intomainfrom
fix/index-creation-3

Conversation

@dartcafe
Copy link
Copy Markdown
Collaborator

@dartcafe dartcafe commented Apr 27, 2026

  • The check for existing index names has to be case insensitive for PostgreSQL
    changed strpos() to stripos()
  • DBALException was catched, but Exception was thrown
    Changed catch from ...\DBAL\Exception to \Exception
  • Primary keys could have been dropped in hard fallback
    Secure PKs when dropping unique indices
    Added a repair step to restore PK on accidentially drop

Signed-off-by: dartcafe <github@dartcafe.de>
Signed-off-by: dartcafe <github@dartcafe.de>
Signed-off-by: dartcafe <github@dartcafe.de>
Signed-off-by: dartcafe <github@dartcafe.de>
@dartcafe dartcafe added this to the 9.0.3 milestone Apr 27, 2026
@dartcafe dartcafe merged commit 4c4acb0 into main Apr 27, 2026
47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrading polls fails SQL transaction postgresql: during Upgrade to version 9.0.0, there are multiple errors because of duplicate indices

1 participant