mirror of
https://github.com/moodle/moodle.git
synced 2025-07-16 03:46:30 +02:00
Added latest changes to postgres files
This commit is contained in:
@ -15,6 +15,12 @@ function exercise_upgrade($oldversion) {
|
||||
table_column("exercise", "", "assessmentcomps", "INTEGER", "4", "UNSIGNED", "2", "NOT NULL", "usemaximum");
|
||||
}
|
||||
|
||||
if ($oldversion < 2004090200) {
|
||||
table_column("exercise", "", "usepassword", "INTEGER", "4", "UNSIGNED", "0", "NOT NULL");
|
||||
table_column("exercise", "", "password", "VARCHAR", "32", "", "", "NOT NULL");
|
||||
}
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user