Command to create a raw alembic_version table #964
Labels
command interface
use case
not quite a feature and not quite a bug, something we just didn't think of
versioning model
Discussed in #962
Originally posted by kasium November 10, 2021
Hey,
not sure if this use case is somehow common, but I would like to request it:
In my application, I use the alembic_version table as a synchronization point, meaning that multiple instances of the app are starting in parallel and will try to lock the alembic_version table in order to execute a migration. However, this approach only works if the alembic_version table already exists.
So, my question would be, if it would be possible to a command to generate a raw alembic_version table? It would help me a lot. Currently I use heads and stamp together, but the code doesn't make it obvious want I want to do
The text was updated successfully, but these errors were encountered: