ripoul edited a comment on issue #5333: my model definition and table created don't match URL: https://github.com/apache/incubator-superset/issues/5333#issuecomment-402649182 can we use in superset_config.py : ``` SQLALCHEMY_BINDS = { 'struct':'postgresql+psycopg2://insynium:XXXXXXX@localhost:5432/supersetTestBis', } ``` and in new model : ``` __bind_key__ = 'struct' ``` here the docs : http://flask-sqlalchemy.pocoo.org/2.3/binds/ the __bind_key__ cmd seems to be ignore : all the table are created in the same database. in fact when the table are created manualy and I don't migrate it works. The migration script ignore the __bind_key__ detail
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on 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]
