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

Fixed postgresql migrations not applied #2601

Merged
merged 1 commit into from
Aug 4, 2024

Conversation

anderson-oki
Copy link
Collaborator

@anderson-oki anderson-oki commented Aug 3, 2024

Description

Fixes #2592.

The persistent connection to the database is closed during the migrations which does not happens with SQLite, accidentally keeps SQLite working.

If we close the connection that we retrieved during the migrations, the migrations won't have connectivity to continue and apply the database changes, causing a silent failure.

@anderson-oki anderson-oki self-assigned this Aug 3, 2024
@anderson-oki anderson-oki marked this pull request as ready for review August 3, 2024 04:08
@anderson-oki anderson-oki merged commit e5edf62 into development Aug 4, 2024
2 checks passed
@anderson-oki anderson-oki deleted the fix/migrations-postgresql-not-applied branch August 4, 2024 12:30
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