ERD Schema of the Database¶
Here is the current Database schema diagram.
The ER diagram shows the snapshot of the database structure valid for Airflow version 2.5.0 and it should be treated as an internal detail. It might be changed at any time and you should not directly access the database to retrieve information from it or modify the data - you should use REST API Reference to do that instead. The main purpose of this diagram is to help with troubleshooting and understanding of the internal Airflow DB architecture in case you have any problems with the database - for example when dealing with problems with migrations. See also Reference for Database Migrations for list of detailed database migrations that are applied when running migration script and db command for the commands that you can use to manage the migrations.