mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-05 11:19:07 -04:00
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:
@@ -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`))
|
||||
|
||||
Reference in New Issue
Block a user