Prevent migrations from running in parallel #360
Unanswered
silverpill
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an application that runs migrations automatically at startup. However, in certain cases multiple instances of an application might be started at the same time, and that leads to conflicts (e.g. an instance fails because some table already exists).
What is the recommended way of dealing with this?
Driver:
tokio-postgres
.Beta Was this translation helpful? Give feedback.
All reactions