mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-24 17:02:55 +08:00
8 lines
259 B
Text
8 lines
259 B
Text
|
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
|