FAILED: Could not determine revision id from filename env.py when the migrations directory is different from alembic #1346
Unanswered
sidux
asked this question in
Usage Questions
Replies: 1 comment
-
hi - there is nothing special about the name "migrations". if you are calling |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
To Reproduce
on a new project :
alembic init migrations
alembic revision -m "message" --autogenerate
I get the error
FAILED: Could not determine revision id from filename env.py
Everything is okay if I do
alembic init alembic
instead.Beta Was this translation helpful? Give feedback.
All reactions