airflow db upgrade

Upgrade the metadata database to latest version


-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>(Optional) If provided, only run migrations up to and including this Alembic revision
-n, --to-version <to_version>(Optional) The airflow version to upgrade to. Note: must provide either `--to-revision` or `--to-version`