Skip to content
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

Set opts correctly when revision --autogenerate is used #463

Merged

Conversation

RazerM
Copy link
Contributor

@RazerM RazerM commented May 18, 2022

Although Flask-Migrate provides the migrate command, revision --autogenerate should also work.

I found this issue while trying to use this recipe:

https://alembic.sqlalchemy.org/en/latest/cookbook.html#don-t-generate-empty-migrations-with-autogenerate

Although Flask-Migrate provides the `migrate` command,
`revision --autogenerate` should also work.

This allows this recipe to work:

https://alembic.sqlalchemy.org/en/latest/cookbook.html#don-t-generate-empty-migrations-with-autogenerate
@miguelgrinberg miguelgrinberg merged commit f7f15e2 into miguelgrinberg:main May 19, 2022
@miguelgrinberg
Copy link
Owner

Thank you!

@RazerM RazerM deleted the fix/revision-autogenerate branch May 19, 2022 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants