Upon editing my models, I wanted to use flask db migrate to update my database.
However flask db migrate doesn't seem to detect my models anymore?
Currently I get the following output:
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
And that's it.
I have searched for problems other users had, but it did not lead to a solution for me. Basically I was following the Flask Mega-Tutorial, so my code looks very similar (with the blueprints).
What I am asking for is a set of commands/things I could do, to determine what the actual issue is. How can I determine that my modules are found? That the database is found? That it looks at the changes?
Currently I have checked:
- importing the models
- having a database present
- remove whole 'migration' folder,
flask db initand then try to migrate again