summaryrefslogtreecommitdiffstats
path: root/create/postgresql
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-12-31 10:17:17 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-12-31 10:17:17 +0000
commitde88880aed22e1fc120f9ca0912bc5e5ec1460da (patch)
treee73878424092854144d123e359a5ed47f4679f1d /create/postgresql
parent2b872f161a7f6c7a64d92696c2e974f7401d4111 (diff)
downloadzabbix-de88880aed22e1fc120f9ca0912bc5e5ec1460da.tar.gz
zabbix-de88880aed22e1fc120f9ca0912bc5e5ec1460da.tar.xz
zabbix-de88880aed22e1fc120f9ca0912bc5e5ec1460da.zip
Upgrade script for actions;
git-svn-id: svn://svn.zabbix.com/trunk@2461 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'create/postgresql')
-rw-r--r--create/postgresql/schema.sql15
1 files changed, 15 insertions, 0 deletions
diff --git a/create/postgresql/schema.sql b/create/postgresql/schema.sql
index 34fc17aa..95afe961 100644
--- a/create/postgresql/schema.sql
+++ b/create/postgresql/schema.sql
@@ -220,6 +220,21 @@ CREATE TABLE actions (
);
--
+-- Table structure for table 'conditions'
+--
+
+CREATE TABLE conditions (
+ conditionid serial,
+ actionid int4 DEFAULT '0' NOT NULL,
+ conditiontype int4 DEFAULT '0' NOT NULL,
+ operator int1 DEFAULT '0' NOT NULL,
+ value varchar(255) DEFAULT '' NOT NULL,
+ PRIMARY KEY (conditionid),
+ FOREIGN KEY (actionid) REFERENCES actions
+);
+
+
+--
-- Table structure for table 'media_type'
--