From c326ae36be604ba176f176b225a7e8ae2ef92081 Mon Sep 17 00:00:00 2001 From: Ian Berry Date: Sat, 10 Jan 2009 21:14:25 +0000 Subject: [PATCH] set the value column to varchar(512), not the name column git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4879 860744bd-22fc-0310-8c96-e9fe5004b5ca --- install/0_8_7b_to_0_8_7c.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/0_8_7b_to_0_8_7c.php b/install/0_8_7b_to_0_8_7c.php index 60327dfb7..745cfa2a9 100644 --- a/install/0_8_7b_to_0_8_7c.php +++ b/install/0_8_7b_to_0_8_7c.php @@ -50,7 +50,7 @@ function upgrade_to_0_8_7c() { /* increase the width of the settings field, but only if MySQL is >= 5 */ if (substr(db_fetch_cell("SELECT @@version"), 0, 1) >= 5) { - db_install_execute("0.8.7c", "ALTER TABLE `settings` MODIFY COLUMN `name` VARCHAR(512) NOT NULL DEFAULT ''"); + db_install_execute("0.8.7c", "ALTER TABLE `settings` MODIFY COLUMN `value` VARCHAR(512) NOT NULL DEFAULT ''"); } /* add a default for NOT NULL columns */