by Stefan Eberhard.
Update crashed with
Debug info: Data truncated for column 'uuid' at row 45
ALTER TABLE mdl_event MODIFY COLUMN uuid VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' after visible
Error code: ddlexecuteerror
ALTER TABLE mdl_event MODIFY COLUMN uuid VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' after visible
Error code: ddlexecuteerror
Stack trace:
- line 432 of /lib/dml/moodle_database.php: ddl_change_structure_exception thrown
- line 860 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 77 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 598 of /lib/ddl/database_manager.php: call to database_manager->change_field_type()
- line 1301 of /lib/db/upgrade.php: call to database_manager->change_field_precision()
- line 1493 of /lib/upgradelib.php: call to xmldb_main_upgrade()
- line 284 of /admin/index.php: call to upgrade_core()