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 /installer/install.sql | |
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 'installer/install.sql')
-rwxr-xr-x | installer/install.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/install.sql b/installer/install.sql index 432aee64..b9c56043 100755 --- a/installer/install.sql +++ b/installer/install.sql @@ -55,7 +55,7 @@ CREATE TABLE {comments} ( `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`) |