rpwils opened a new issue #5270: superset_config.py not being picked up for db upgrade URL: https://github.com/apache/incubator-superset/issues/5270 Make sure these boxes are checked before submitting your issue - thank you! - [ ] I have checked the superset logs for python stacktraces and included it here as text if any - [ ] I have reproduced the issue with at least the latest released version of superset - [ ] I have checked the issue tracker for the same issue and I haven't found one similar ### Superset version 0.25.6 ### Expected results Database upgrade script completes ### Actual results It is upgrading the sqlite db and not our postgres db. we get this error in the upgrade - /opt/superset-venv/local/lib64/python2.7/site-packages/sqlalchemy/dialects/sqlite/base.py:1425: SAWarning: WARNING: SQL-parsed foreign key constraint '(u'datasource_name', u'datasources', u'datasource_name')' could not be located in PRAGMA foreign_keys for table metrics ### Steps to reproduce create a superset_config.py and set the db to a different database other than the sqllite Run superset db upgrade you will see - INFO [alembic.runtime.migration] Context impl SQLiteImpl.
---------------------------------------------------------------- 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]
