You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 runpytest
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)
Completion criteria
(What does the end state look like - as long as this task(s) is done, this work is complete)
pytest
without having to drop the database firstThe text was updated successfully, but these errors were encountered: