From 0c451c8044295d5db7484aa67fc27059a8f76bf4 Mon Sep 17 00:00:00 2001 From: Radu Ioan Fericean Date: Fri, 6 Nov 2015 16:18:56 +0200 Subject: [PATCH] longer threshold type in db --- data/storage/mysql/create_tariffplan_tables.sql | 2 +- data/storage/postgres/create_tariffplan_tables.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/storage/mysql/create_tariffplan_tables.sql b/data/storage/mysql/create_tariffplan_tables.sql index 4e368e8d9..facb3f7b9 100644 --- a/data/storage/mysql/create_tariffplan_tables.sql +++ b/data/storage/mysql/create_tariffplan_tables.sql @@ -197,7 +197,7 @@ CREATE TABLE `tp_action_triggers` ( `tpid` varchar(64) NOT NULL, `tag` varchar(64) NOT NULL, `unique_id` varchar(64) NOT NULL, - `threshold_type` char(12) NOT NULL, + `threshold_type` char(64) NOT NULL, `threshold_value` DECIMAL(20,4) NOT NULL, `recurrent` BOOLEAN NOT NULL, `min_sleep` varchar(16) NOT NULL, diff --git a/data/storage/postgres/create_tariffplan_tables.sql b/data/storage/postgres/create_tariffplan_tables.sql index 241e9f2e4..1722ff74b 100644 --- a/data/storage/postgres/create_tariffplan_tables.sql +++ b/data/storage/postgres/create_tariffplan_tables.sql @@ -192,7 +192,7 @@ CREATE TABLE tp_action_triggers ( tpid VARCHAR(64) NOT NULL, tag VARCHAR(64) NOT NULL, unique_id VARCHAR(64) NOT NULL, - threshold_type char(12) NOT NULL, + threshold_type char(64) NOT NULL, threshold_value NUMERIC(20,4) NOT NULL, recurrent BOOLEAN NOT NULL, min_sleep VARCHAR(16) NOT NULL,