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 flyway migration file #6070

Open
2 tasks
tmpayton opened this issue Dec 4, 2024 · 0 comments
Open
2 tasks

Fix flyway migration file #6070

tmpayton opened this issue Dec 4, 2024 · 0 comments

Comments

@tmpayton
Copy link
Contributor

tmpayton commented Dec 4, 2024

What we’re after

Migration file v0302 has a create table statement that is missing IF NOT EXISTS. Developers have to drop and recreate their local test database every time we run pytest or they will get failures. We need to figure out a way to fix this issue without editing the original migration file.

Most likely will need to delete this table and recreate it using a different name. Will need to pair with FECfile to make sure they are ok with the tablename changes and because this would involve editing some of their code.

Action item(s)

(These are the smaller tasks that should happen in order to complete this work)

  • Determine a way to fix the migrations without editing v0302

Completion criteria

(What does the end state look like - as long as this task(s) is done, this work is complete)

  • Developers can run pytest without having to drop the database first
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants