Skip to content

psychopg2 complaining that a table doesn't exist after migrations #1473

Closed Answered by andre-qumulo
andre-qumulo asked this question in Usage Questions
Discussion options

You must be logged in to vote

So these are unit/integration tests that allow us to run the migration against a temporary DB to ensure it won't destroy our production one.
I have been able to use psql to log into the DB as it's running on localhost.

Somehow I fixed this by replacing our env.py file with the one from flask-migrate's repo and removing any references to running the migrations as sql

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@andre-qumulo
Comment options

@andre-qumulo
Comment options

@CaselIT
Comment options

@andre-qumulo
Comment options

Answer selected by andre-qumulo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants