Added timestart and timeend field to user_teachers table

(in preparation for enrollment architecture)
This commit is contained in:
moodler
2004-06-24 08:23:16 +00:00
parent 13d620fdc5
commit faef9f7b8c
5 changed files with 15 additions and 1 deletions
+5
View File
@@ -517,6 +517,11 @@ function main_upgrade($oldversion=0) {
table_column('user', "", 'maildigest', 'smallint', '1', '', '0', 'not null', 'mailformat');
}
if ($oldversion < 2004062400) {
table_column('user_teachers', "", 'timeend', 'int', '10', 'unsigned', '0', 'not null', 'editall');
table_column('user_teachers', "", 'timestart', 'int', '10', 'unsigned', '0', 'not null', 'editall');
}
return $result;
}