diff options
Diffstat (limited to 'create/postgresql/schema.sql')
| -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' -- |
