Added a new format field for comments
This commit is contained in:
@@ -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. :-)
|
||||
|
||||
Reference in New Issue
Block a user