There are more than 100 files in alembic version directory. How to use alembic command to merge these file into a one file?
I am try to use this:
alembic revision --autogenerate
but doesn't work! Anyone has good idea?
If you have all the models in models.py (or whatever you use for models), it should be possible to achieve your goal by recreating migrations in a single file. Like this:
alembic revision --autogenerate