summaryrefslogtreecommitdiffstats
path: root/create/postgresql/schema.sql
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-02-21 15:50:17 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-02-21 15:50:17 +0000
commitbc3960286b5f858cedb188dfb9ac64e655fc1205 (patch)
tree31654a9aeaac87ae310511a23b5735e2215dbb9c /create/postgresql/schema.sql
parente777462175794243937ce3078209224619dfa320 (diff)
downloadzabbix-bc3960286b5f858cedb188dfb9ac64e655fc1205.tar.gz
zabbix-bc3960286b5f858cedb188dfb9ac64e655fc1205.tar.xz
zabbix-bc3960286b5f858cedb188dfb9ac64e655fc1205.zip
- support of max(#N) for sum,min,max,delta and avg (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@2667 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'create/postgresql/schema.sql')
-rw-r--r--create/postgresql/schema.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/create/postgresql/schema.sql b/create/postgresql/schema.sql
index 4aafd179..b7b936a7 100644
--- a/create/postgresql/schema.sql
+++ b/create/postgresql/schema.sql
@@ -79,6 +79,7 @@ CREATE TABLE items (
lastlogsize int4 DEFAULT '0' NOT NULL,
logtimefmt varchar(64) DEFAULT '' NOT NULL,
templateid int4 DEFAULT '0' NOT NULL,
+ valuemapid int4 DEFAULT '0' NOT NULL,
PRIMARY KEY (itemid),
FOREIGN KEY (hostid) REFERENCES hosts
);