Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compatibility with old MySQL 8.0 #40314

Merged
merged 2 commits into from
Jun 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def upgrade():
TABLE_NAME = 'connection' AND
CONSTRAINT_NAME = 'unique_conn_id' AND
CONSTRAINT_TYPE = 'UNIQUE') = true,'ALTER TABLE connection
drop constraint unique_conn_id','select 1');
DROP INDEX unique_conn_id','select 1');

prepare stmt from @var;
execute stmt;
Expand All @@ -65,7 +65,7 @@ def upgrade():
TABLE_NAME = 'connection' AND
CONSTRAINT_NAME = 'connection_conn_id_uq' AND
CONSTRAINT_TYPE = 'UNIQUE') = true,'ALTER TABLE connection
drop constraint connection_conn_id_uq','select 1');
DROP INDEX connection_conn_id_uq','select 1');

prepare stmt from @var;
execute stmt;
Expand Down Expand Up @@ -127,7 +127,7 @@ def upgrade():
TABLE_NAME = 'dag_run' AND
CONSTRAINT_NAME = 'dag_run_dag_id_execution_date_uq' AND
CONSTRAINT_TYPE = 'UNIQUE') = true,'ALTER TABLE dag_run
drop constraint dag_run_dag_id_execution_date_uq','select 1');
DROP INDEX dag_run_dag_id_execution_date_uq','select 1');

prepare stmt from @var;
execute stmt;
Expand All @@ -141,7 +141,7 @@ def upgrade():
TABLE_NAME = 'dag_run' AND
CONSTRAINT_NAME = 'dag_run_dag_id_run_id_uq' AND
CONSTRAINT_TYPE = 'UNIQUE') = true,'ALTER TABLE dag_run
drop constraint dag_run_dag_id_run_id_uq','select 1');
DROP INDEX dag_run_dag_id_run_id_uq','select 1');

prepare stmt from @var;
execute stmt;
Expand All @@ -156,7 +156,7 @@ def upgrade():
TABLE_NAME = 'dag_run' AND
CONSTRAINT_NAME = 'dag_run_dag_id_execution_date_key' AND
CONSTRAINT_TYPE = 'UNIQUE') = true,'ALTER TABLE dag_run
drop constraint dag_run_dag_id_execution_date_key','select 1');
DROP INDEX dag_run_dag_id_execution_date_key','select 1');

prepare stmt from @var;
execute stmt;
Expand All @@ -170,7 +170,7 @@ def upgrade():
TABLE_NAME = 'dag_run' AND
CONSTRAINT_NAME = 'dag_run_dag_id_run_id_key' AND
CONSTRAINT_TYPE = 'UNIQUE') = true,'ALTER TABLE dag_run
drop constraint dag_run_dag_id_run_id_key','select 1');
DROP INDEX dag_run_dag_id_run_id_key','select 1');

prepare stmt from @var;
execute stmt;
Expand Down
2 changes: 1 addition & 1 deletion docs/apache-airflow/img/airflow_erd.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
de5209e4fe92d96f2749f8e8b7a31467a1c636f77c690e305edd45473a1bd698
64c9ef7def00dfa38aba681a88bae3c9412c3f4529430f4906c289eff59e105b