Permalink
Browse files

Merged from MOODLE_17_STABLE: fixed the journal upgrade. renaming a n…

…ull column to not null is unhappy
  • Loading branch information...
1 parent f976251 commit d3674ed965bac49ade4475ad804465ebaa53d671 mjollnir_ committed Nov 7, 2006
Showing with 2 additions and 2 deletions.
  1. +1 −1 mod/journal/db/mysql.php
  2. +1 −1 mod/journal/db/postgres7.php
View
@@ -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.
@@ -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.

0 comments on commit d3674ed

Please sign in to comment.