willbarrett edited a comment on issue #8737: Migration and model changes to 
synchronize the data model
URL: 
https://github.com/apache/incubator-superset/pull/8737#issuecomment-566746517
 
 
   @john-bodley and @mistercrunch - I've looked closely at the constraint in 
question, and I can find where it is added to the database 
(https://github.com/apache/incubator-superset/blob/master/superset/migrations/versions/b4456560d4f3_change_table_unique_constraint.py)
 but cannot find any migration that removes that constraint. It's possible that 
it was never applied to your MySQL database, but that constraint does exist in 
postgres. We have two options here:
   
   1) Add a migration to drop the constraint
   2) Add the constraint to the model
   
   I'm assuming you'd prefer option 1?

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

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

Reply via email to