When running the alembic revision
command to generate a new revision script I get the following (not particularly helpful) error:
$ alembic -c <my-config>.ini revision -m "example message"
Only a single head supported so far...
The implication seems to be I somehow ended up with two HEAD
s in my Alembic system--although I'm not really certain what this means.
In our workflow migration scripts are written by multiple developers so my guess would be somehow two developers concurrently created a revision which refers to the same "revises" identifier.
- Is that what this error message means?
- What is the best way to identify the offending migration scripts?
- What is the best way to fix this error (keeping in mind that I believe all migrations in our version control have been applied to the DB already)?