diff --git a/mod/journal/db/mysql.php b/mod/journal/db/mysql.php index 989c00da137..37c34dfc9fa 100644 --- a/mod/journal/db/mysql.php +++ b/mod/journal/db/mysql.php @@ -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. diff --git a/mod/journal/db/postgres7.php b/mod/journal/db/postgres7.php index 1fa74e6312f..9064b093cdd 100644 --- a/mod/journal/db/postgres7.php +++ b/mod/journal/db/postgres7.php @@ -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.