alembic db migration concurrently

Question:

I have multiple flask apps connected to the same database backend for high availability purposes. There is a problem when app instances try to migrate database concurrently using alembic! What’s the best way to prevent it?

Asked By: Robinho

||

Answers:

Alembic does not support simultaneous migration. Your best bet is to do it manually.

Answered By: simanacci
Categories: questions Tags: , , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.