Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

FAILED: Could not determine revision id from filename env.py when the migrations directory is different from alembic #1345

Closed
sidux opened this issue Nov 6, 2023 · 0 comments

Comments

@sidux
Copy link

sidux commented Nov 6, 2023

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.

@sidux sidux added the requires triage New issue that requires categorization label Nov 6, 2023
@sqlalchemy sqlalchemy locked and limited conversation to collaborators Nov 6, 2023
@zzzeek zzzeek converted this issue into discussion #1346 Nov 6, 2023
@CaselIT CaselIT removed the requires triage New issue that requires categorization label Nov 6, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants