felicity-lims/backend/felicity_lims/alembic.rm

8 lines
259 B
Text
Raw Normal View History

2021-01-06 19:52:14 +08:00
After any changes or additions in database models, new alembic revision has to be created using the following command:
alembic revision --autogenerate -m "some revision message"
And then to upgrade the database to the newest revision:
alembic upgrade head