Hello
I just tried putting the upgrade patch on for H5P
DDL sql execution error
Error Code: 515<br>
Message: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Cannot insert the value NULL into column 'completionpass', table 'HPPC15455.dbo.mdl_hvp'; column does not allow nulls. UPDATE fails.<br>
SQLState: 01000<br>
Error Code: 3621<br>
Message: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]The statement has been terminated.<br>
ALTER TABLE mdl_hvp ALTER COLUMN completionpass SMALLINT NOT NULL
Error code: ddlexecuteerror
- line 492 of \lib\dml\moodle_database.php: ddl_change_structure_exception thrown
- line 324 of \lib\dml\sqlsrv_native_moodle_database.php: call to moodle_database->query_end()
- line 772 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->query_end()
- line 77 of \lib\ddl\database_manager.php: call to sqlsrv_native_moodle_database->change_database_structure()
- line 597 of \lib\ddl\database_manager.php: call to database_manager->execute_sql_arr()
- line 634 of \lib\ddl\database_manager.php: call to database_manager->change_field_type()
- line 507 of \mod\hvp\db\upgrade.php: call to database_manager->change_field_notnull()
- line 598 of \mod\hvp\db\upgrade.php: call to hvp_upgrade_2020080401()
- line 826 of \lib\upgradelib.php: call to xmldb_hvp_upgrade()
- line 532 of \lib\upgradelib.php: call to upgrade_plugins_modules()
- line 1877 of \lib\upgradelib.php: call to upgrade_plugins()
- line 713 of \admin\index.php: call to upgrade_noncore()