This hardcoded the db_alias fetched from schema_editor and forces django to try and migrate any second database you use, rather than routing to the default database. In testing a build from scratch, these do not appear needed. Using using() prevents us from using multiple databases behind edxapp. Additionally - add back a removed backwards migration from certificates 0003. I have no idea why this was dropped in the 1.8 upgrade.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
0001_initial.py | Loading commit data... | |
0002_data__certificatehtmlviewconfiguration_data.py | Loading commit data... | |
0003_data__default_modes.py | Loading commit data... | |
0004_certificategenerationhistory.py | Loading commit data... | |
0005_auto_20151208_0801.py | Loading commit data... | |
0006_certificatetemplateasset_asset_slug.py | Loading commit data... | |
0007_certificateinvalidation.py | Loading commit data... | |
__init__.py | Loading commit data... |