From c8bdb1edab12c5965dd8aff46ef1fcada5a7a940 Mon Sep 17 00:00:00 2001 From: Ian Berry Date: Tue, 13 Jan 2004 07:05:12 +0000 Subject: [PATCH] fix rrd_step column size (again) git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1459 860744bd-22fc-0310-8c96-e9fe5004b5ca --- install/0_8_4_to_0_8_5.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/0_8_4_to_0_8_5.php b/install/0_8_4_to_0_8_5.php index 9d46f78c07..29d2ab1898 100644 --- a/install/0_8_4_to_0_8_5.php +++ b/install/0_8_4_to_0_8_5.php @@ -63,5 +63,5 @@ function upgrade_to_0_8_5() { db_install_execute("0.8.5", "UPDATE graph_templates_graph set unit_exponent_value='' where unit_exponent_value='0';"); /* allow larger rrd steps */ - db_install_execute("0.8.5", "ALTER TABLE `data_template_data` CHANGE `rrd_step` `rrd_step` SMALLINT( 8 ) UNSIGNED DEFAULT '0' NOT NULL;"); + db_install_execute("0.8.5", "ALTER TABLE `data_template_data` CHANGE `rrd_step` `rrd_step` MEDIUMINT( 8 ) UNSIGNED DEFAULT '0' NOT NULL;"); }