github-actions[bot] commented on PR #43938:
URL: https://github.com/apache/superset/pull/43938#issuecomment-5786567787

   ### ⚠️ Possible DB migration conflict
   
   @SBIN2010 the base branch `master` picked up a new database migration under 
`superset/migrations/` after this PR was opened, and this PR adds or modifies 
migration files too. Alembic migrations form a single linear chain, so if both 
branch off the same parent revision, merging this PR as-is could leave the 
migration history with two heads instead of one, which makes `superset db 
upgrade` fail with `Multiple head revisions are present`.
   
   To check and, if needed, fix this:
   
   1. Rebase this branch onto the latest `master`.
   2. Run `superset db heads`. If it lists more than one revision, you have a 
conflict.
   3. In your new migration's script, update `down_revision` (and the `Revises` 
comment) to point at the other head instead, so the chain has a single head 
again.
   
   See [Merging DB 
Migrations](https://superset.apache.org/docs/contributing/development#merging-db-migrations)
 in the contributing guide for a worked example.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to