diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-23 13:45:16 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-23 13:45:16 -0700 |
commit | 3b0baa827150e457c630052d6ef87853aaad8bdc (patch) | |
tree | afbe6a09bcbaf797a7ec2032fd0d88243d68fe97 | |
parent | 29de41db252f6c9635093c1ec48aaeec2438dc89 (diff) |
Replay change from Romain DE LISEZ to change the state column to be a varchar
-rw-r--r-- | modules/comment/helpers/comment_installer.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/helpers/comment_installer.php b/modules/comment/helpers/comment_installer.php index f5a7542b..f54913c3 100644 --- a/modules/comment/helpers/comment_installer.php +++ b/modules/comment/helpers/comment_installer.php @@ -40,7 +40,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`)) @@ -48,7 +48,7 @@ class comment_installer { block_manager::add("dashboard_center", "comment", "recent_comments"); module::set_var("comment", "spam_caught", 0); - module::set_version("comment", 1); + module::set_version("comment", 2); } static function upgrade($version) { |