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

support alembic check command #33

Open
peterkronenberg opened this issue Jun 28, 2024 · 1 comment
Open

support alembic check command #33

peterkronenberg opened this issue Jun 28, 2024 · 1 comment

Comments

@peterkronenberg
Copy link

Is there a way to do the equivalent of alembic check with flask-alembic?

@davidism davidism changed the title Executing aembic check usign flask-alebic support alembic check command Jun 28, 2024
@davidism
Copy link
Member

davidism commented Jun 28, 2024

Not currently, I didn't realize there was a new command in Alembic. You're welcome to submit a PR that adds the command. I'd guess all the parts needed are already there, for example Alembic.heads() would match Alembic.current() if all upgrades were run. You'd have to look at how check is implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants