I am trying to get my database up and running for flask and there is an issue when I type flask db migrate -m "users table". It keeps giving me an error that says this:
ERROR [root] Error: Can't locate revision identified by '1cccee45d6e7'
I tried deleting the migration file, then rerunning the code to start the database in cmd:
(venv) $ flask db init
Which worked fine and created a new migration file in the flask app directory. Then I did:
(venv) $ flask db migrate -m "users table"
and here is where I get the problem again:
(venv) C:\sitesfolder\microblog\app>flask db migrate
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
ERROR [root] Error: Can't locate revision identified by '1cccee45d6e7'
I'm following this tutorial.