Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: disable transaction on migration #2273

Merged
merged 2 commits into from
Jul 10, 2024

Conversation

brunomiguelpinto
Copy link
Contributor

@brunomiguelpinto brunomiguelpinto commented Jul 10, 2024

Context

Uses disable_ddl_transaction! to execute the migration outside of a transaction, allowing for concurrent index creation.

@brunomiguelpinto brunomiguelpinto self-assigned this Jul 10, 2024
@brunomiguelpinto brunomiguelpinto merged commit 4870ebe into main Jul 10, 2024
6 checks passed
@brunomiguelpinto brunomiguelpinto deleted the fix-db-migration-withot-locking branch July 10, 2024 14:56
abdussamadbello pushed a commit to abdussamadbello/lago-api that referenced this pull request Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants