From bfb41b23166d700a588f192bd0ad6e819595adba Mon Sep 17 00:00:00 2001
From: osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>
Date: Wed, 31 May 2006 14:28:45 +0000
Subject:  - 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
---
 create/postgresql/schema.sql | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'create/postgresql/schema.sql')

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
-- 
cgit 

