Hi, I want to use alembic to auto-generate migrations scripts for my postgres db. When i tried: #alembic upgrade and alembic downgrade both worked properly, but when i modified my models and tried #alembic revision --autogenerate it raises this error :
INFO [alembic.migration] Context impl PostgresqlImpl. INFO [alembic.migration] Will assume transactional DDL. ERROR [alembic.util] Target database is not up to date. FAILED: Target database is not up to date. In env.py, i imported my models and set target_metadata to myModels.Base.metadata. Anyone has an idea on how to solve this issue or what is causing the error above ? Thanks. -- You received this message because you are subscribed to the Google Groups "sqlalchemy-alembic" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
