We have a few engineers all working on the same database.
When one runs alembic revision -m 'name'
We get
FAILED: Multiple heads are present; please specify the head revision on which the new revision should be based, or perform a merge.
Not asking how to solve the direct message, but rather the pattern.
Not really concerned with merge conflicts, more with the ability to work and add items without having to fiddle around a bunch.
How is the person to know which revision to use? Is there a way to get around this?
We have a similar issue in the context of a production database. If we have multiple pull requests merging to master, then we want to update the production db near when the pull request merges. But the revision identifiers from say a sandbox db won't match. So the whole (revision id concept) just feels confused then?
Is there a whole different approach to using it for production vs development?