blcksrx commented on issue #8808: superset db upgrade returns foreign key 
constraint is incorrectly formed
URL: 
https://github.com/apache/incubator-superset/issues/8808#issuecomment-564593881
 
 
   it's because of this foreign key om the `tab_state`:
   ```
   FOREIGN KEY(latest_query_id) REFERENCES query (client_id)
   ```
   The `client_id ` is not a `primary_key` on the `query` table and it should 
be referenced to `query (id)`

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