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: Migration tasks for primary database #1365

Merged
merged 1 commit into from
Oct 10, 2023
Merged

Conversation

vincent-pochet
Copy link
Collaborator

@vincent-pochet vincent-pochet commented Oct 2, 2023

Context

In some context, due to the newly released multi-db approach for the event storage, it was impossible to perform reset migration task on the development database.

Description

This PR fixes this problem by enabling the primary suffix on migration tasks.

With this fix, to reset the dabatase, just run bundle exec rails db:reset:primary

@vincent-pochet vincent-pochet added the 🐞 Bug Something isn't working label Oct 2, 2023
@vincent-pochet vincent-pochet self-assigned this Oct 2, 2023
@vincent-pochet vincent-pochet merged commit 1c7cf88 into main Oct 10, 2023
6 checks passed
@vincent-pochet vincent-pochet deleted the fix-migration-tasks branch October 10, 2023 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants