diff options
Diffstat (limited to 'create/postgresql/schema.sql')
| -rw-r--r-- | create/postgresql/schema.sql | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/create/postgresql/schema.sql b/create/postgresql/schema.sql index 672b8725..f024e836 100644 --- a/create/postgresql/schema.sql +++ b/create/postgresql/schema.sql @@ -45,9 +45,10 @@ 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, + 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, hostid int4 NOT NULL, description varchar(255) DEFAULT '' NOT NULL, key_ varchar(64) DEFAULT '' NOT NULL, |
