Re: Deploying Django multi servers, 1 DB server

2019-01-03 Thread Christian Ledermann
You will have to split migrations from code changes. The migrated database will have to run with both old and new code. You may have to split one migration into several to achieve this On Thu, 3 Jan 2019 at 15:28, Peter van der Does wrote: > We currently have one app server, so deployment with

Deploying Django multi servers, 1 DB server

2019-01-03 Thread Peter van der Does
We currently have one app server, so deployment with migrations is easy, but we're expanding to multiple app servers and one DB server. How do people handle migrations? I understand you run migrations on one server only. But how do you inform the other servers that migrations has finished and