I'm trying to use alembic to handle local migrations on my project. It worked the first time, but then I needed to delete the folder and restart.(don't ask why, I just had to) I'm following this tutorial and I run the command
python manage.py db init
And it was ok. But when I try to run
python manage.py db migrate
I'm getting this error:
alembic.util.CommandError: Can't locate revision identified by '31b8ab83c7d'
Now, it seems that alembic is looking for a revision that doesn't exists anymore. There is anyway to make alembic forget that file? Or like restart the comparison from None to -> auto-generated again?
/alembic.ini
– Curative