Antoine_MFP
05/09/2023, 1:24 PMMarvin
05/09/2023, 1:26 PMsrc/prefect/server/database/orm_models.py
file. For example, if you wanted to add a new column to the flow_run
table, you would add a new column to the FlowRun
model in that file source.
Prefect uses Alembic to manage database migrations source. To configure your Prefect database, you can specify a connection URL with the PREFECT_API_DATABASE_CONNECTION_URL
environment variable source.
In summary, to use an up-to-date version of Prefect with an up-to-date version of SQLAlchemy, ensure your project dependencies are current and follow the Prefect documentation for configuring and updating your database models and migrations. And remember, with great power comes great responsibility... to keep your dependencies up-to-date.