diff options
author | Romain LE DISEZ <romain.git@ledisez.net> | 2009-06-23 10:12:09 +0200 |
---|---|---|
committer | Romain LE DISEZ <romain.git@ledisez.net> | 2009-06-23 10:12:09 +0200 |
commit | d601ab93beb9be2cc69d64fa04803ff3c3601c3a (patch) | |
tree | 4164d3cef439a734bf4bf10354a90c833e3f6ca7 /modules/comment/helpers | |
parent | c80d2da0a95a63b76f5a4c835f1a0e1022ec2f53 (diff) |
Value stored in comment.state is not 15 char length.
Use a VARCHAR instead of a CHAR. It improves compatibility
with PgSQL.
Diffstat (limited to 'modules/comment/helpers')
-rw-r--r-- | modules/comment/helpers/comment_installer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/helpers/comment_installer.php b/modules/comment/helpers/comment_installer.php index b1cfcdc0..58bce8e0 100644 --- a/modules/comment/helpers/comment_installer.php +++ b/modules/comment/helpers/comment_installer.php @@ -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`)) |