uranusjr commented on pull request #16953: URL: https://github.com/apache/airflow/pull/16953#issuecomment-879378004
`airflow/migrations/versions` contains database migration files. They are managed by Alembic, and each version describes a change in the database schema in time. So to add a new model, you should create a new migration file, instead of midofying existing migrations. You can find more about Alembic here: https://alembic.sqlalchemy.org/en/latest/tutorial.html To create a new migration file for Airflow: https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst#metadata-database-updates -- 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]
