diff options
Diffstat (limited to 'upgrades/dbpatches/1.6/mysql/patch/escalations.sql')
-rw-r--r-- | upgrades/dbpatches/1.6/mysql/patch/escalations.sql | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/upgrades/dbpatches/1.6/mysql/patch/escalations.sql b/upgrades/dbpatches/1.6/mysql/patch/escalations.sql new file mode 100644 index 00000000..78ffe299 --- /dev/null +++ b/upgrades/dbpatches/1.6/mysql/patch/escalations.sql @@ -0,0 +1,11 @@ +CREATE TABLE escalations ( + escalationid bigint unsigned DEFAULT '0' NOT NULL, + actionid bigint unsigned DEFAULT '0' NOT NULL, + triggerid bigint unsigned DEFAULT '0' NOT NULL, + eventid bigint unsigned DEFAULT '0' NOT NULL, + nextcheck integer DEFAULT '0' NOT NULL, + esc_step integer DEFAULT '0' NOT NULL, + status integer DEFAULT '0' NOT NULL, + PRIMARY KEY (escalationid) +) type=InnoDB; +CREATE INDEX escalations_1 on escalations (actionid,triggerid); |