2020年12月22日星期二

How can multiple engineers work on same DB with alembic?

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?

https://stackoverflow.com/questions/65418159/how-can-multiple-engineers-work-on-same-db-with-alembic December 23, 2020 at 10:06AM

没有评论:

发表评论