Moved assignment_submission->comment to submissioncomment

(because comment is DB reserved word)
This commit is contained in:
stronk7
2006-09-21 09:35:20 +00:00
parent 1888245ee6
commit ea6432fede
15 changed files with 78 additions and 63 deletions
+4
View File
@@ -167,6 +167,10 @@ function assignment_upgrade($oldversion) {
modify_database('','ALTER TABLE prefix_assignment_submissions ALTER format SET NOT NULL');
}
if ($oldversion < 2006092100) {
table_column('assignment_submissions', 'comment', 'submissioncomment', 'text', '', '', '');
}
/// These lines ALWAYS need to be here at the end of this file. Don't mess with them. :-)
include_once("$CFG->dirroot/mod/assignment/lib.php");
assignment_upgrade_submodules();