diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-02-07 16:29:18 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-02-07 16:29:18 +0000 |
| commit | 329c71b3ab547107d5ea8f9c3add62522b1fbe0d (patch) | |
| tree | 0337ca14e54851e228694a77b89540ead703a3f5 /create/postgresql/schema.sql | |
| parent | 7d118e0d66da8f949841e97b7dd7ce20c8c25fff (diff) | |
| download | zabbix-329c71b3ab547107d5ea8f9c3add62522b1fbe0d.tar.gz zabbix-329c71b3ab547107d5ea8f9c3add62522b1fbe0d.tar.xz zabbix-329c71b3ab547107d5ea8f9c3add62522b1fbe0d.zip | |
- added hosts.templateid and items.templateid (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@2624 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'create/postgresql/schema.sql')
| -rw-r--r-- | create/postgresql/schema.sql | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/create/postgresql/schema.sql b/create/postgresql/schema.sql index b925fbac..ada6dfff 100644 --- a/create/postgresql/schema.sql +++ b/create/postgresql/schema.sql @@ -34,6 +34,7 @@ CREATE TABLE hosts ( error varchar(128) DEFAULT '' NOT NULL, available int4 DEFAULT '0' NOT NULL, errors_from int4 DEFAULT '0' NOT NULL, + templateid int4 DEFAULT '0' NOT NULL, PRIMARY KEY (hostid) ); @@ -77,6 +78,7 @@ CREATE TABLE items ( error varchar(128) DEFAULT '' NOT NULL, lastlogsize int4 DEFAULT '0' NOT NULL, logtimefmt varchar(64) DEFAULT '' NOT NULL, + templateid int4 DEFAULT '0' NOT NULL, PRIMARY KEY (itemid), FOREIGN KEY (hostid) REFERENCES hosts ); |
