ephraimbuddy commented on code in PR #62234:
URL: https://github.com/apache/airflow/pull/62234#discussion_r2939003217


##########
scripts/in_container/run_generate_migration.sh:
##########
@@ -19,8 +19,14 @@
 . "$(dirname "${BASH_SOURCE[0]}")/_in_container_script_init.sh"
 
 cd "${AIRFLOW_SOURCES}" || exit 1
+export 
AIRFLOW__DATABASE__EXTERNAL_DB_MANAGERS="airflow.providers.fab.auth_manager.models.db.FABDBManager,airflow.providers.edge3.models.db.EdgeDBManager"
+airflow db reset -y --use-migration-files
+
 cd "airflow-core/src/airflow" || exit 1
-airflow db reset -y
-airflow db downgrade -n 2.10.3 -y
-airflow db migrate -r heads
+alembic revision --autogenerate -m "${@}"

Review Comment:
   I will refactor this later to be more specific about which of the migrations 
one cares about to generate. I will fix this in that refactor 



-- 
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]

Reply via email to