diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2001-06-22 20:20:43 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2001-06-22 20:20:43 +0000 |
| commit | 15377955b388639cbfdcbbe684e09f2bde30cafa (patch) | |
| tree | dfe3bb8d62fb51ee9756456ebc48b377310f1efd /create/postgresql | |
| parent | cbe4739969d86c162f2815b2913de514716d5d8b (diff) | |
| download | zabbix-15377955b388639cbfdcbbe684e09f2bde30cafa.tar.gz zabbix-15377955b388639cbfdcbbe684e09f2bde30cafa.tar.xz zabbix-15377955b388639cbfdcbbe684e09f2bde30cafa.zip | |
Support for table sysmaps.
git-svn-id: svn://svn.zabbix.com/trunk@104 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'create/postgresql')
| -rw-r--r-- | create/postgresql/schema.sql | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/create/postgresql/schema.sql b/create/postgresql/schema.sql index 65e53fad..754b73b3 100644 --- a/create/postgresql/schema.sql +++ b/create/postgresql/schema.sql @@ -1,6 +1,20 @@ \connect zabbix -- +-- Table structure for table 'sysmaps' +-- + +CREATE TABLE sysmaps ( + sysmapid serial, + name varchar(128) DEFAULT '' NOT NULL, + width int4 DEFAULT '0' NOT NULL, + height int4 DEFAULT '0' NOT NULL, + PRIMARY KEY (sysmapid) +); + +CREATE UNIQUE INDEX sysmaps_name on sysmaps (name); + +-- -- Table structure for table 'hosts' -- |
