Closed jjwon0 closed 8 years ago
You should be using ./manage.py dropdb followed by ./manage.py db upgrade. This does the same thing as initdb, except it also populates the alembic_versions table with the appropriate revision, so alembic knows whats going on.
./manage.py dropdb
./manage.py db upgrade
initdb
alembic_versions
remove initdb from utils/commands/init (theres an import error rn)
good catch
lgtm!
You should be using
./manage.py dropdb
followed by./manage.py db upgrade
. This does the same thing asinitdb
, except it also populates thealembic_versions
table with the appropriate revision, so alembic knows whats going on.