I have an airflow instance running inside a docker container. I might want to update Airflow in the future while ensuring that the database matches the current version of airflow.
Can I run airflow db migrate
as part of an initialization script (i.e. entrypoint.sh
) that runs every time the docker container is started?