main
| FUNCTION | DESCRIPTION |
|---|---|
set_db |
Upgrade database schemas. |
update_db_data |
Apply data migrations. |
Functions:¶
set_db()
¶
Upgrade database schemas.
Call alembic to upgrade to the latest migration. Ref: https://stackoverflow.com/a/56683030/283972
Source code in fractal_server/__main__.py
update_db_data()
¶
Apply data migrations.