The GitHub Actions job "Tests" on airflow.git/add-initial-squashed-migration 
has failed.
Run started by GitHub user nickstenning (triggered by nickstenning).

Head commit for run:
b7e5f107528882316cb7c8f13f45ce596ae4512d / Nick Stenning <[email protected]>
Permit `airflow db migrate -r` with an empty database

To allow `airflow db migrate` to respect its `-r` option when run
against an empty database, we need to supply an initial migration which
creates the database in the state expected by the existing 0001
migration.

This commit:

1. Adds such an initial migration.
2. Updates `upgradedb` to run a migration-based upgrade rather than a
   direct reflection of table metadata when `to_revision` is supplied.
3. Fix `add_default_pool_if_not_exists` to not assume that it's running
   with the latest database schema.

Report URL: https://github.com/apache/airflow/actions/runs/20040759172

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to