Fokko commented on issue #6442: [AIRFLOW-5771] Straighten out alembic migrations
URL: https://github.com/apache/airflow/pull/6442#issuecomment-546705312
 
 
   We never _want_ to have multiple heads. But sometimes it happens when 
someone works on a (long running) feature, and from a single revision, two 
migrations are being branched. For simplicity, you never want to have multiple 
heads I'd say.
   
   @dstandish suggested adding the following unit test: 
https://blog.jerrycodes.com/multiple-heads-in-alembic-migrations/. This one 
will detect when we have multiple heads, and fail.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to