Browse Source

Fixed TEXT column can't have a default value (#154)

Tobias Reich 10 years ago
parent
commit
326238d46a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      php/database/log_table.sql

+ 2 - 2
php/database/log_table.sql

@@ -8,6 +8,6 @@ CREATE TABLE IF NOT EXISTS `lychee_log` (
   `type` varchar(11) NOT NULL,
   `function` varchar(100) NOT NULL,
   `line` int(11) NOT NULL,
-  `text` TEXT DEFAULT '',
+  `text` TEXT,
   PRIMARY KEY (`id`)
-) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
+) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;