From ea1add8bb3ca2f7396be6d4ef1f6772aaf3f3f26 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Mon, 3 Jan 2005 19:30:29 +0000 Subject: - added table 'hosts_templates' (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@1575 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- create/postgresql/schema.sql | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'create/postgresql/schema.sql') diff --git a/create/postgresql/schema.sql b/create/postgresql/schema.sql index 2a7b43ca..a406da91 100644 --- a/create/postgresql/schema.sql +++ b/create/postgresql/schema.sql @@ -624,4 +624,19 @@ CREATE TABLE escalations ( CREATE UNIQUE INDEX escalations_name on escalations (name); +-- +-- Table structure for table 'hosts_templates' +-- + +CREATE TABLE hosts_templates ( + hostid int4 DEFAULT '0' NOT NULL, + templateid int4 DEFAULT '0' NOT NULL, + items int2 DEFAULT '0' NOT NULL, + triggers int2 DEFAULT '0' NOT NULL, + actions int2 DEFAULT '0' NOT NULL, + graphs int2 DEFAULT '0' NOT NULL, + screens int2 DEFAULT '0' NOT NULL, + PRIMARY KEY (hostid, templateid) +); + VACUUM ANALYZE; -- cgit