summaryrefslogtreecommitdiffstats
path: root/create/postgresql/schema.sql
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-04-06 11:59:16 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-04-06 11:59:16 +0000
commit4d4eb2ca7581b62e0069d3701a2cad9e6ad520f0 (patch)
tree2ca4705bcdd92867585d828bbdfffaad4f79729e /create/postgresql/schema.sql
parent87f979867288718684f72e2a5fb3a8d4bb3840c1 (diff)
downloadzabbix-4d4eb2ca7581b62e0069d3701a2cad9e6ad520f0.tar.gz
zabbix-4d4eb2ca7581b62e0069d3701a2cad9e6ad520f0.tar.xz
zabbix-4d4eb2ca7581b62e0069d3701a2cad9e6ad520f0.zip
Minor fixes.
git-svn-id: svn://svn.zabbix.com/trunk@746 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'create/postgresql/schema.sql')
-rw-r--r--create/postgresql/schema.sql28
1 files changed, 28 insertions, 0 deletions
diff --git a/create/postgresql/schema.sql b/create/postgresql/schema.sql
index 7a43fb50..b39e4d06 100644
--- a/create/postgresql/schema.sql
+++ b/create/postgresql/schema.sql
@@ -385,6 +385,7 @@ CREATE TABLE services (
triggerid int4,
showsla int4 DEFAULT '0' NOT NULL,
goodsla float8 DEFAULT '99.9' NOT NULL,
+ sortorder int4 DEFAULT '0' NOT NULL,
PRIMARY KEY (serviceid)
);
@@ -451,4 +452,31 @@ CREATE TABLE profiles (
CREATE INDEX profiles_userid on profiles (userid);
CREATE UNIQUE INDEX profiles_userid_idx on profiles (userid,idx);
+--
+-- Table structure for table 'screens'
+--
+
+CREATE TABLE screens (
+ screenid serial,
+ name varchar(255) DEFAULT 'Screen' NOT NULL,
+ cols int4 DEFAULT '1' NOT NULL,
+ rows int4 DEFAULT '1' NOT NULL,
+ PRIMARY KEY (screenid)
+);
+
+--
+-- Table structure for table 'screens_items'
+--
+
+CREATE TABLE screens_items (
+ screenitemid serial,
+ screenid int4 DEFAULT '0' NOT NULL,
+ graphid int4 DEFAULT '0' NOT NULL,
+ width int4 DEFAULT '320' NOT NULL,
+ height int4 DEFAULT '200' NOT NULL,
+ x int4 DEFAULT '0' NOT NULL,
+ y int4 DEFAULT '0' NOT NULL,
+ PRIMARY KEY (screenitemid)
+);
+
VACUUM ANALYZE;