I am installing an instance of v. 2.7 and using the moodle data from our current moodle server for testing purposes. When moodle is going through its upgrade process from the browser, it starts off by failing on the mod_quiz module saying there was a coding error, and then it shows the following if I try to run the upgrade from within moodle again:
mod_quiz
ALTER TABLE mdl_quiz_slots MODIFY COLUMN slot BIGINT(10) NOT NULL after id
Error code: ddlexecuteerror
- line 449 of /lib/dml/moodle_database.php: ddl_change_structure_exception thrown
- line 839 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 76 of /lib/ddl/database_manager.php: call to mysqli_native_moodle_database->change_database_structure()
- line 583 of /lib/ddl/database_manager.php: call to database_manager->execute_sql_arr()
- line 620 of /lib/ddl/database_manager.php: call to database_manager->change_field_type()
- line 723 of /mod/quiz/db/upgrade.php: call to database_manager->change_field_notnull()
- line 697 of /lib/upgradelib.php: call to xmldb_quiz_upgrade()
- line 420 of /lib/upgradelib.php: call to upgrade_plugins_modules()
- line 1615 of /lib/upgradelib.php: call to upgrade_plugins()
- line 432 of /admin/index.php: call to upgrade_noncore()