Skip migration by hash #1164
Replies: 1 comment
-
Hi, I don't think there is anything automatic here. But you can probably use stamp to change what migration is saved in the alembic version table |
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.
-
Hello,
Thanks for that thing like alembic and sqlalchemy in general.
My question is - is it possible to apply migration, but skip it? It is something like django migration with --zero flag.
Why i need this. I have some migrations, which fill some tables initial data. Some of them use remote sources and it can works about few minutes.
I want to test my migrations, but want to skip some hashes of my existing migrations. Sadly, but i can't find something, which can help me.
Also i ask about in pytest-alembic, but they also don't know that.
Beta Was this translation helpful? Give feedback.
All reactions