From 2d79d0ae267f3fb7d26c9832a4f2261d5e359a38 Mon Sep 17 00:00:00 2001 From: rinor Date: Fri, 13 Nov 2015 14:30:07 +0100 Subject: [PATCH] data/storage: Fix create_tariffplan_tables.sql LCR_STRATEGY_LOAD = "*load_distribution" = 18 chars * mysql: tp_lcr_rules - set strategy to VARCHAR(18) * postgres: tp_lcr_rules - set strategy to VARCHAR(18) --- 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 1c4e6c940..810bec233 100644 --- a/data/storage/mysql/create_tariffplan_tables.sql +++ b/data/storage/mysql/create_tariffplan_tables.sql @@ -257,7 +257,7 @@ CREATE TABLE tp_lcr_rules ( `subject` varchar(64) NOT NULL, `destination_tag` varchar(64) NOT NULL, `rp_category` varchar(32) NOT NULL, - `strategy` varchar(16) NOT NULL, + `strategy` varchar(18) NOT NULL, `strategy_params` varchar(256) NOT NULL, `activation_time` varchar(24) NOT NULL, `weight` DECIMAL(8,2) NOT NULL, diff --git a/data/storage/postgres/create_tariffplan_tables.sql b/data/storage/postgres/create_tariffplan_tables.sql index af915a093..e710ad260 100644 --- a/data/storage/postgres/create_tariffplan_tables.sql +++ b/data/storage/postgres/create_tariffplan_tables.sql @@ -252,7 +252,7 @@ CREATE TABLE tp_lcr_rules ( subject VARCHAR(64) NOT NULL, destination_tag VARCHAR(64) NOT NULL, rp_category VARCHAR(32) NOT NULL, - strategy VARCHAR(16) NOT NULL, + strategy VARCHAR(18) NOT NULL, strategy_params VARCHAR(256) NOT NULL, activation_time VARCHAR(24) NOT NULL, weight NUMERIC(8,2) NOT NULL,