Permalink
Browse files

- #1485120 (text column can't have a default value)

  • Loading branch information...
1 parent d87fc29 commit f18911adb4a6d08fc85963a2f15f13fa869877ec @alecpl alecpl committed Jun 12, 2008
Showing with 3 additions and 3 deletions.
  1. +1 −1 SQL/mysql.initial.sql
  2. +1 −1 SQL/mysql.update.sql
  3. +1 −1 SQL/mysql5.initial.sql
View
@@ -55,7 +55,7 @@ CREATE TABLE `identities` (
`email` varchar(128) NOT NULL,
`reply-to` varchar(128) NOT NULL default '',
`bcc` varchar(128) NOT NULL default '',
- `signature` text NOT NULL default '',
+ `signature` text,
`html_signature` tinyint(1) NOT NULL default '0',
PRIMARY KEY (`identity_id`),
KEY `user_id` (`user_id`)
View
@@ -19,7 +19,7 @@ ALTER TABLE `users`
-- Updates from version 0.1.1
ALTER TABLE `identities`
- MODIFY `signature` text NOT NULL DEFAULT '',
+ MODIFY `signature` text,
MODIFY `bcc` varchar(128) NOT NULL DEFAULT '',
MODIFY `reply-to` varchar(128) NOT NULL DEFAULT '',
MODIFY `organization` varchar(128) NOT NULL DEFAULT '',
View
@@ -111,7 +111,7 @@ CREATE TABLE `identities` (
`email` varchar(128) NOT NULL,
`reply-to` varchar(128) NOT NULL DEFAULT '',
`bcc` varchar(128) NOT NULL DEFAULT '',
- `signature` text NOT NULL DEFAULT '',
+ `signature` text,
`html_signature` tinyint(1) NOT NULL DEFAULT '0',
`user_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY(`identity_id`),

0 comments on commit f18911a

Please sign in to comment.