diff options
Diffstat (limited to 'create/postgresql/schema.sql')
| -rw-r--r-- | create/postgresql/schema.sql | 15 |
1 files changed, 15 insertions, 0 deletions
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; |
