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)
This commit is contained in:
rinor
2015-11-13 14:30:07 +01:00
parent cc6f614aee
commit 2d79d0ae26
2 changed files with 2 additions and 2 deletions

View File

@@ -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,

View File

@@ -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,