summaryrefslogtreecommitdiffstats
path: root/create/postgresql/schema.sql
diff options
context:
space:
mode:
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;