You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/09/27 11:32:48 UTC

[GitHub] [incubator-superset] aspedrosa opened a new issue #8316: Include schema on sqlatable's unique constraint

aspedrosa opened a new issue #8316: Include schema on sqlatable's unique constraint
URL: https://github.com/apache/incubator-superset/issues/8316
 
 
   On a project that I'm working on we have different schemas on the same database (postgres) and all schemas have the same ddl. 
   Since the SqlaTable model has a unique constrain on the fields "database_id" and "table_name" we can't import the tables.
   
   The solution would be to add the "schema" field to the existing unique constraint of the SqlaTable model.
   To prevent having several tables with the same name and database on the list endpoint of the tablemodelview I would also add the schema to the list_columns

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org