Value stored in comment.state is not 15 char length.

Use a VARCHAR instead of a CHAR. It improves compatibility
with PgSQL.
This commit is contained in:
Romain LE DISEZ
2009-06-23 10:12:09 +02:00
parent c80d2da0a9
commit d601ab93be
2 changed files with 2 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ class comment_installer {
`server_remote_addr` varchar(32) default NULL,
`server_remote_host` varchar(64) default NULL,
`server_remote_port` varchar(16) default NULL,
`state` char(15) default 'unpublished',
`state` varchar(15) default 'unpublished',
`text` text,
`updated` int(9) NOT NULL,
PRIMARY KEY (`id`))