Merged from MOODLE_17_STABLE: fixed the journal upgrade. renaming a null column to not null is unhappy

This commit is contained in:
mjollnir_
2006-11-07 00:09:37 +00:00
parent f97625121d
commit d3674ed965
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ function journal_upgrade($oldversion) {
}
if ($oldversion < 2006092100) {
table_column('journal_entries', 'comment', 'entrycomment', 'text', '', '', '');
table_column('journal_entries', 'comment', 'entrycomment', 'text', '', '', '', 'null');
}
////// DO NOT ADD NEW THINGS HERE!! USE upgrade.php and the lib/ddllib.php functions.
+1 -1
View File
@@ -58,7 +58,7 @@ function journal_upgrade($oldversion) {
}
if ($oldversion < 2006092100) {
table_column('journal_entries', 'comment', 'entrycomment', 'text', '', '', '');
table_column('journal_entries', 'comment', 'entrycomment', 'text', '', '', '', 'null');
}
////// DO NOT ADD NEW THINGS HERE!! USE upgrade.php and the lib/ddllib.php functions.