-
Notifications
You must be signed in to change notification settings - Fork 14.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make migrations path relative to ini #42381
Make migrations path relative to ini #42381
Conversation
This makes it so that we can alembic commands from the root repo dir. E.g. ``` alembic -c airflow/alembic.ini revision --autogenerate -m "Do something" ``` Sometimes when running from airflow subfolder we get errors.
I had instructed contributors to copy the airflow’s |
I don't really understand the implications re what that section is about and how this would impact that. Can you possibly make a suggestion re what I should change? |
This line in the doc: I'm not sure it will work if copied over. WDYT? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and it works
We can also update the one at airflow/providers/fab/alembic.ini |
Thanks a bunch Ephraim 🙏 |
This makes it so that we can alembic commands from the root repo dir. E.g. ``` alembic -c airflow/alembic.ini revision --autogenerate -m "Do something" ``` Sometimes when running from airflow subfolder we get errors.
This makes it so that we can alembic commands from the root repo dir.
E.g.
Sometimes when running from airflow subfolder we get errors.