Dev-iL commented on PR #70496:
URL: https://github.com/apache/airflow/pull/70496#issuecomment-5104165115
In short:
```diff
diff --git a/.github/actions/migration_tests/action.yml
b/.github/actions/migration_tests/action.yml
index f3e17b4..06cfc57 100644
--- a/.github/actions/migration_tests/action.yml
+++ b/.github/actions/migration_tests/action.yml
@@ -46,7 +46,11 @@ runs:
DB_RESET: "false"
DB_MANAGERS:
"airflow.providers.fab.auth_manager.models.db.FABDBManager"
PYTHON_VERSION: "${{ inputs.python-version }}"
AIRFLOW_2_CMD: >-
+ export
AIRFLOW__DATABASE__SQL_ALCHEMY_CONN=postgresql://postgres:airflow@postgres/airflow
&&
airflow db reset --skip-init -y &&
airflow db migrate --to-revision heads
AIRFLOW_3_CMD: >-
@@ -80,7 +84,9 @@ runs:
DB_RESET: "false"
DB_MANAGERS:
"airflow.providers.fab.auth_manager.models.db.FABDBManager"
PYTHON_VERSION: "${{ inputs.python-version }}"
AIRFLOW_2_CMD: >-
+ export
AIRFLOW__DATABASE__SQL_ALCHEMY_CONN=postgresql://postgres:airflow@postgres/airflow
&&
airflow db reset -y
AIRFLOW_3_CMD: >-
airflow db migrate --to-revision heads &&
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]