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,