summaryrefslogtreecommitdiffstats
path: root/create/postgresql/schema.sql
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-05-31 14:28:45 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-05-31 14:28:45 +0000
commitbfb41b23166d700a588f192bd0ad6e819595adba (patch)
tree1c47a9bd2077047e9da96dfa5dfb3000a4d6c22c /create/postgresql/schema.sql
parent100ead984d87b8d482709fcea91e49d677dbb50b (diff)
downloadzabbix-bfb41b23166d700a588f192bd0ad6e819595adba.tar.gz
zabbix-bfb41b23166d700a588f192bd0ad6e819595adba.tar.xz
zabbix-bfb41b23166d700a588f192bd0ad6e819595adba.zip
- improved graphs, added selector of data calculation function (Eugene)
NOTE: don't finished historical graphs git-svn-id: svn://svn.zabbix.com/trunk@2933 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'create/postgresql/schema.sql')
-rw-r--r--create/postgresql/schema.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/create/postgresql/schema.sql b/create/postgresql/schema.sql
index 8928549e..d8fdf0cd 100644
--- a/create/postgresql/schema.sql
+++ b/create/postgresql/schema.sql
@@ -512,6 +512,9 @@ CREATE TABLE graphs_items (
sortorder int4 DEFAULT '0' NOT NULL,
color varchar(32) DEFAULT 'Dark Green' NOT NULL,
yaxisside int2 DEFAULT '1' NOT NULL,
+ calc_fnc int2 DEFAULT '2' NOT NULL,
+ show_history int2 DEFAULT '0' NOT NULL,
+ history_len int4 DEFAULT '5' NOT NULL,
PRIMARY KEY (gitemid)
-- FOREIGN KEY (graphid) REFERENCES graphs,
-- FOREIGN KEY (itemid) REFERENCES items