From 1783ca4c53a6afd95d0a4edec89f7e3742829d53 Mon Sep 17 00:00:00 2001
From: hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>
Date: Sat, 18 Oct 2003 08:24:54 +0000
Subject: Better support of delta functionality (Alexei)

git-svn-id: svn://svn.zabbix.com/trunk@998 97f52cf1-0a1b-0410-bd0e-c28be96e8082
---
 create/postgresql/schema.sql | 2 ++
 1 file changed, 2 insertions(+)

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

diff --git a/create/postgresql/schema.sql b/create/postgresql/schema.sql
index f6d09aef..f7987e2f 100644
--- a/create/postgresql/schema.sql
+++ b/create/postgresql/schema.sql
@@ -63,6 +63,8 @@ CREATE TABLE items (
   trapper_hosts		varchar(255)	DEFAULT '' NOT NULL,
   units			varchar(10)	DEFAULT '' NOT NULL,
   multiplier		int4		DEFAULT '0' NOT NULL,
+  delta			int1		DEFAULT '0' NOT NULL,
+  prevorgvalue		float8		DEFAULT '0.0',
   PRIMARY KEY (itemid),
   FOREIGN KEY (hostid) REFERENCES hosts
 );
-- 
cgit 

