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

🧹 Add table_exists? guard clauses to migrations #323

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

ShanaLMoore
Copy link
Contributor

@ShanaLMoore ShanaLMoore commented Jan 24, 2024

Check if table exists before insisting the migration should run.

We had issues when running migrations in a different project because of an error that the table already existed. We fixed it manually but this should fix the source.

ref: slack convo

Check if table exists before insisting the migration should run.
@ShanaLMoore ShanaLMoore requested a review from jeremyf January 24, 2024 16:11
@jeremyf jeremyf merged commit dadebca into main Jan 24, 2024
9 of 10 checks passed
@jeremyf jeremyf deleted the add-guard-clause-around-migrations branch January 24, 2024 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants