Added latest changes to postgres files

This commit is contained in:
paca70
2004-09-05 11:26:19 +00:00
parent b7d005a96e
commit ced7ca9ef9
2 changed files with 10 additions and 1 deletions

View File

@ -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;
}