From eb7a2dd83498fa83ad44c7da01362dba10c6d0f4 Mon Sep 17 00:00:00 2001
From: hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>
Date: Tue, 19 Jun 2001 14:15:52 +0000
Subject: Added columns items.snmp_oid and items.snmp_community.

git-svn-id: svn://svn.zabbix.com/trunk@86 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 e6b489dd..65e53fad 100644
--- a/create/postgresql/schema.sql
+++ b/create/postgresql/schema.sql
@@ -21,6 +21,8 @@ CREATE INDEX hosts_status on hosts (status);
 CREATE TABLE items (
   itemid		serial,
   type			int4		NOT NULL,
+  snmp_community	varchar(64)	DEFAULT '' NOT NULL,
+  snmp_oid		varchar(255)	DEFAULT '' NOT NULL,
   hostid		int4		NOT NULL,
   description		varchar(255)	DEFAULT '' NOT NULL,
   key_			varchar(64)	DEFAULT '' NOT NULL,
-- 
cgit 

