diff options
author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-03-03 07:07:17 +0000 |
---|---|---|
committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-03-03 07:07:17 +0000 |
commit | bafced8d1665bd9b8e3b8225ade993de377b439e (patch) | |
tree | a28745bfe6aa53e5e981b94998bd16831a4a07a3 /create | |
parent | 2bc7b3257910bfc7b4e1e497072fc1c93c82c4ec (diff) | |
download | zabbix-bafced8d1665bd9b8e3b8225ade993de377b439e.tar.gz zabbix-bafced8d1665bd9b8e3b8225ade993de377b439e.tar.xz zabbix-bafced8d1665bd9b8e3b8225ade993de377b439e.zip |
- user-defined parameters will overwrite already existing
(Alexei)
- fixed field order for PostgreSQL, table items (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@708 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'create')
-rw-r--r-- | create/postgresql/schema.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/create/postgresql/schema.sql b/create/postgresql/schema.sql index 723ffa91..7a43fb50 100644 --- a/create/postgresql/schema.sql +++ b/create/postgresql/schema.sql @@ -45,7 +45,6 @@ CREATE UNIQUE INDEX hosts_host on hosts (host); CREATE TABLE items ( itemid serial, type int4 NOT NULL, - value_type int4 DEFAULT '0' NOT NULL, snmp_community varchar(64) DEFAULT '' NOT NULL, snmp_oid varchar(255) DEFAULT '' NOT NULL, snmp_port int4 DEFAULT '161' NOT NULL, @@ -60,6 +59,7 @@ CREATE TABLE items ( lastclock int4 DEFAULT NULL, prevvalue varchar(255) DEFAULT NULL, status int4 DEFAULT '0' NOT NULL, + value_type int4 DEFAULT '0' NOT NULL, trapper_hosts varchar(255) DEFAULT '' NOT NULL, PRIMARY KEY (itemid), FOREIGN KEY (hostid) REFERENCES hosts |