Permalink
Browse files

fixed the journal upgrade. renaming a null column to not null is unhappy

  • Loading branch information...
1 parent d4e2861 commit 3b1bd3405bac08039bd191a44c0446caf48814b1 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 3b1bd34

Please sign in to comment.