airflow db downgrade

Downgrade the schema of the metadata database


-h, --helpShow this help message and exit
--from-revision <from_revision>(Optional) If generating sql, may supply a *from* Alembic revision
--from-version <from_version>(Optional) If generating sql, may supply a *from* version
-s, --show-sql-onlyDon't actually run migrations; just print out sql scripts for offline migration. Required if using either `--from-version` or `--from-version`
-r, --to-revision <to_revision>The Alembic revision to downgrade to. Note: must provide either `--to-revision` or `--to-version`
-n, --to-version <to_version>(Optional) If provided, only run migrations up to this version
-y, --yesDo not prompt to confirm. Use with care!