summaryrefslogtreecommitdiffstats
path: root/upgrades/dbpatches
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-06-01 13:44:55 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-06-01 13:44:55 +0000
commit6dd15b8a41d705ab1d0735a053a697f23b08d9b5 (patch)
tree4591b95c92c34ae8251f700eb7e5b54b8d87c898 /upgrades/dbpatches
parent15eaca904b14e5396f766ef2d7979707e1090f7f (diff)
downloadzabbix-6dd15b8a41d705ab1d0735a053a697f23b08d9b5.tar.gz
zabbix-6dd15b8a41d705ab1d0735a053a697f23b08d9b5.tar.xz
zabbix-6dd15b8a41d705ab1d0735a053a697f23b08d9b5.zip
- developed aggrgated graphs (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@2935 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'upgrades/dbpatches')
-rw-r--r--upgrades/dbpatches/1.1beta12_to_1.1/mysql/patch.sql4
-rw-r--r--upgrades/dbpatches/1.1beta12_to_1.1/postgresql/patch.sql4
2 files changed, 4 insertions, 4 deletions
diff --git a/upgrades/dbpatches/1.1beta12_to_1.1/mysql/patch.sql b/upgrades/dbpatches/1.1beta12_to_1.1/mysql/patch.sql
index 50813249..30823e59 100644
--- a/upgrades/dbpatches/1.1beta12_to_1.1/mysql/patch.sql
+++ b/upgrades/dbpatches/1.1beta12_to_1.1/mysql/patch.sql
@@ -1,4 +1,4 @@
alter table graphs_items add calc_fnc int(1) DEFAULT '2' NOT NULL;
-alter table graphs_items add show_history int(1) DEFAULT '0' NOT NULL;
-alter table graphs_items add history_len int(4) DEFAULT '5' NOT NULL;
+alter table graphs_items add type int(1) DEFAULT '0' NOT NULL;
+alter table graphs_items add periods_cnt int(4) DEFAULT '5' NOT NULL;
diff --git a/upgrades/dbpatches/1.1beta12_to_1.1/postgresql/patch.sql b/upgrades/dbpatches/1.1beta12_to_1.1/postgresql/patch.sql
index 7c223fec..4ccdc83c 100644
--- a/upgrades/dbpatches/1.1beta12_to_1.1/postgresql/patch.sql
+++ b/upgrades/dbpatches/1.1beta12_to_1.1/postgresql/patch.sql
@@ -1,4 +1,4 @@
ALTER TABLE graphs_items ADD calc_fnc int2 DEFAULT '2' NOT NULL;
-ALTER TABLE graphs_items ADD show_history int2 DEFAULT '0' NOT NULL;
-ALTER TABLE graphs_items ADD history_len int4 DEFAULT '5' NOT NULL;
+ALTER TABLE graphs_items ADD type int2 DEFAULT '0' NOT NULL;
+ALTER TABLE graphs_items ADD periods_cnt int4 DEFAULT '5' NOT NULL;