File tree 2 files changed +9
-5
lines changed
.github/actions/migration_tests
airflow-core/src/airflow/models
2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,13 @@ runs:
32
32
DB_RESET : " false"
33
33
AIRFLOW_2_CMD : >-
34
34
airflow db reset --skip-init -y &&
35
- airflow db migrate --to-revision heads
35
+ airflow db migrate --to-revision heads &&
36
+ cd airflow-core/src/airflow && alembic check
36
37
AIRFLOW_3_CMD : >-
37
38
airflow db migrate --to-revision heads &&
38
39
airflow db downgrade -n 2.7.0 -y &&
39
- airflow db migrate
40
+ airflow db migrate &&
41
+ cd airflow-core/src/airflow && alembic check
40
42
if : env.BACKEND != 'sqlite'
41
43
- name : " Bring composer down"
42
44
shell : bash
57
59
AIRFLOW_3_CMD : >-
58
60
airflow db migrate --to-revision heads &&
59
61
airflow db downgrade -n 2.7.0 -y &&
60
- airflow db migrate
62
+ airflow db migrate &&
63
+ cd airflow-core/src/airflow && alembic check
61
64
if : env.BACKEND != 'sqlite'
62
65
- name : " Bring compose down again"
63
66
shell : bash
70
73
breeze shell "airflow db reset -y &&
71
74
airflow db migrate --to-revision heads &&
72
75
airflow db downgrade -n 2.7.0 -y &&
73
- airflow db migrate"
76
+ airflow db migrate &&
77
+ cd airflow-core/src/airflow && alembic check"
74
78
env :
75
79
COMPOSE_PROJECT_NAME : " docker-compose"
76
80
AIRFLOW__DATABASE__EXTERNAL_DB_MANAGERS : " airflow.providers.fab.auth_manager.models.db.FABDBManager"
Original file line number Diff line number Diff line change @@ -2170,7 +2170,7 @@ class DagModel(Base):
2170
2170
# Note: Do not depend on fileloc pointing to a file; in the case of a
2171
2171
# packaged DAG, it will point to the subpath of the DAG within the
2172
2172
# associated zip.
2173
- fileloc = Column (String (2000 ))
2173
+ # fileloc = Column(String(2000))
2174
2174
relative_fileloc = Column (String (2000 ))
2175
2175
bundle_name = Column (StringID (), ForeignKey ("dag_bundle.name" ), nullable = True )
2176
2176
# The version of the bundle the last time the DAG was processed
You can’t perform that action at this time.
0 commit comments