Added a new format field for comments

This commit is contained in:
moodler
2005-04-17 17:51:25 +00:00
parent 70b2c772b3
commit 52436fe1cc
9 changed files with 38 additions and 17 deletions
+3
View File
@@ -144,6 +144,9 @@ function assignment_upgrade($oldversion) {
table_column('assignment', '', 'var1', 'integer', '10', '', 0, 'null', 'emailteachers');
}
if ($oldversion < 2005041700) { // Allow comments to have a formatting
table_column('assignment_submissions', '', 'format', 'integer', '4', 'unsigned', '0', 'not null', 'comment');
}
/// These lines ALWAYS need to be here at the end of this file. Don't mess with them. :-)