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? |
ephraimbuddy
left a comment
There was a problem hiding this comment.
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.