summaryrefslogtreecommitdiffstats
path: root/create/mysql/schema.sql
diff options
context:
space:
mode:
Diffstat (limited to 'create/mysql/schema.sql')
-rw-r--r--create/mysql/schema.sql21
1 files changed, 14 insertions, 7 deletions
diff --git a/create/mysql/schema.sql b/create/mysql/schema.sql
index c26074b8..00890a5d 100644
--- a/create/mysql/schema.sql
+++ b/create/mysql/schema.sql
@@ -212,13 +212,20 @@ CREATE TABLE actions (
repeatdelay int(4) DEFAULT '600' NOT NULL,
source int(1) DEFAULT '0' NOT NULL,
actiontype int(1) DEFAULT '0' NOT NULL,
- filter_triggerid int(4) DEFAULT '0' NOT NULL,
- filter_hostid int(4) DEFAULT '0' NOT NULL,
- filter_groupid int(4) DEFAULT '0' NOT NULL,
- filter_trigger_name varchar(255) DEFAULT '' NOT NULL,
- filter_trigger_severity int(4) DEFAULT '0' NOT NULL,
- PRIMARY KEY (actionid),
- KEY (triggerid)
+ PRIMARY KEY (actionid)
+) type=InnoDB;
+
+--
+-- Table structure for table 'conditions'
+--
+
+CREATE TABLE conditions (
+ conditionid int(4) NOT NULL auto_increment,
+ actionid int(4) DEFAULT '0' NOT NULL,
+ conditiontype int(4) DEFAULT '0' NOT NULL,
+ operator int(1) DEFAULT '0' NOT NULL,
+ value varchar(255) DEFAULT '' NOT NULL,
+ PRIMARY KEY (conditionid)
) type=InnoDB;
--