From d32fdd901c41ee1747341e435c21a3b54e96393f Mon Sep 17 00:00:00 2001 From: Rene Krenn Date: Wed, 21 Jun 2017 01:46:46 +0200 Subject: [PATCH] TT#14755 call list suppressions Change-Id: I0646b8040c8a02ee333c519da1c2fb0ab67131f8 --- db_scripts/diff/15344.down | 3 +++ db_scripts/diff/15344.up | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 db_scripts/diff/15344.down create mode 100644 db_scripts/diff/15344.up diff --git a/db_scripts/diff/15344.down b/db_scripts/diff/15344.down new file mode 100644 index 00000000..6e4e7505 --- /dev/null +++ b/db_scripts/diff/15344.down @@ -0,0 +1,3 @@ +use billing; + +drop table `call_list_suppressions`; diff --git a/db_scripts/diff/15344.up b/db_scripts/diff/15344.up new file mode 100644 index 00000000..3b3d61be --- /dev/null +++ b/db_scripts/diff/15344.up @@ -0,0 +1,16 @@ +use billing; + +create table `call_list_suppressions` ( + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + + `domain` varchar(255) NOT NULL DEFAULT '', + `pattern` varchar(255) NOT NULL DEFAULT '.', + `label` varchar(255) NOT NULL DEFAULT 'obfuscated', + + `direction` enum('outgoing','incoming') NOT NULL DEFAULT 'outgoing', + `mode` enum('disabled','filter','obfuscate') NOT NULL DEFAULT 'disabled', + + PRIMARY KEY (`id`), + KEY `cls_direction_mode_domain_idx` (`direction`,`mode`,`domain`), + UNIQUE KEY `cls_domain_direction_pattern_idx` (`domain`,`direction`,`pattern`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8;