by Daniel Krause.
I get this error while trying to perform this upgrade
Debug info:
Error code: ddldependencyerror
Error code: ddldependencyerror
Stack trace:
- line 725 of /lib/ddl/database_manager.php: ddl_dependency_exception thrown
- line 582 of /lib/ddl/database_manager.php: call to database_manager->check_field_dependencies()
- line 600 of /lib/ddl/database_manager.php: call to database_manager->change_field_type()
- line 2704 of /lib/db/upgrade.php: call to database_manager->change_field_precision()
- line 1530 of /lib/upgradelib.php: call to xmldb_main_upgrade()
- line 356 of /admin/index.php: call to upgrade_core()
If I drop the index in question then the upgrade goes through fine, but then I am missing the index once the upgrade is complete.
I feel this is not the correct way to go about it.
Not sure if this is a bug that has existed on our database or in the upgrade code