Went to update the environment Moodle 2.0 to version 2.6 and found the problem was asking where the first upgrade to version 2.2 . So I made this update and when I update the database , I came across the following error below:
Debug info: Unknown column ' QuestionID ' in ' mdl_question_attempts '
ALTER TABLE ADD mdl_question_attempts variant BIGINT ( 10 ) unsigned NOT NULL DEFAULT 1 AFTER QuestionID
Stack trace :
line 400 of / lib / dml / moodle_database.php : ddl_change_structure_exception thrown
line 655 of / lib / dml / mysqli_native_moodle_database.php : call to moodle_database - > query_end
line 88 of / lib / ddl / database_manager.php : call to mysqli_native_moodle_database - > change_database_structure
line 75 of / lib / ddl / database_manager.php : call to database_manager - > execute_sql
line 586 of / lib / ddl / database_manager.php : call to database_manager - > execute_sql_arr
line 6492 of / lib / db / upgrade.php : call to database_manager - > add_field
line 1423 of / lib / upgradelib.php : call to xmldb_main_upgrade
line 277 of / admin / index.php : call to upgrade_core
I wonder if anyone can help me with this problem ?