airflow.providers.edge3.models.db¶
Attributes¶
Classes¶
Manages Edge3 provider database tables. |
Functions¶
Warn if EdgeDBManager is not registered to run DB migrations. |
Module Contents¶
- class airflow.providers.edge3.models.db.EdgeDBManager(session)[source]¶
Bases:
airflow.utils.db_manager.BaseDBManagerManages Edge3 provider database tables.
- initdb()[source]¶
Initialize the database, handling pre-alembic installations.
If the edge3 tables already exist but the alembic version table does not (e.g. created via create_all before the migration chain was introduced), stamp to the first revision and run the incremental upgrade so every migration is applied rather than jumping straight to head.