mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-15 05:09:54 +05:00
Remove RoundingMethod and RoundingDecimals from RateProfile
This commit is contained in:
committed by
Dan Christian Bogos
parent
d71eb21713
commit
66e2b4cd01
@@ -483,8 +483,6 @@ CREATE TABLE tp_rate_profiles (
|
||||
`filter_ids` varchar(64) NOT NULL,
|
||||
`activation_interval` varchar(64) NOT NULL,
|
||||
`weight` decimal(8,2) NOT NULL,
|
||||
`rounding_method` varchar(64) NOT NULL,
|
||||
`rounding_decimals` tinyint(4) NOT NULL,
|
||||
`min_cost` decimal(8,4) NOT NULL,
|
||||
`max_cost` decimal(8,4) NOT NULL,
|
||||
`max_cost_strategy` varchar(64) NOT NULL,
|
||||
|
||||
@@ -469,8 +469,6 @@ CREATE INDEX tp_routes_unique ON tp_routes ("tpid", "tenant", "id",
|
||||
"filter_ids" varchar(64) NOT NULL,
|
||||
"activation_interval" varchar(64) NOT NULL,
|
||||
"weight" decimal(8,2) NOT NULL,
|
||||
"rounding_method" varchar(64) NOT NULL,
|
||||
"rounding_decimals" SMALLINT NOT NULL,
|
||||
"min_cost" decimal(8,4) NOT NULL,
|
||||
"max_cost" decimal(8,4) NOT NULL,
|
||||
"max_cost_strategy" VARCHAR(64) NOT NULL,
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#Tenant,ID,FilterIDs,ActivationInterval,Weight,RoundingMethod,RoundingDecimals,MinCost,MaxCost,MaxCostStrategy,RateID,RateFilterIDs,RateActivationStart,RateWeight,RateBlocker,RateIntervalStart,RateFixedFee,RateRecurrentFee,RateUnit,RateIncrement
|
||||
cgrates.org,RT_SPECIAL_1002,,,0,*up,4,0,0,*free,RT_ALWAYS,,"* * * * *",0,false,0s,,0.01,1m,1s
|
||||
cgrates.org,RT_RETAIL1,,,0,*up,4,0,0,*free,RT_ALWAYS,,"* * * * *",0,false,0s,,0.4,1m,30s
|
||||
cgrates.org,RT_RETAIL1,,,,,,,,,RT_ALWAYS,,"* * * * *",0,false,1m,,0.2,1m,10s
|
||||
cgrates.org,RT_ANY2CNT_SEC,,,0,*up,4,0,0,*free,RT_ALWAYS,,"* * * * *",0,false,0s,,0.02,1s,1s
|
||||
cgrates.org,RT_ANY1CNT_SEC,,,0,*up,4,0,0,*free,RT_ALWAYS,,"* * * * *",0,false,0s,,0.01,1s,1s
|
||||
cgrates.org,RT_DEFAULT,,,20,*up,4,0,0,*free,RT_ALWAYS,,"* * * * *",0,false,0s,,0.10,1m,10s
|
||||
#Tenant,ID,FilterIDs,ActivationInterval,Weight,MinCost,MaxCost,MaxCostStrategy,RateID,RateFilterIDs,RateActivationStart,RateWeight,RateBlocker,RateIntervalStart,RateFixedFee,RateRecurrentFee,RateUnit,RateIncrement
|
||||
cgrates.org,RT_SPECIAL_1002,,,0,0,0,*free,RT_ALWAYS,,"* * * * *",0,false,0s,,0.01,1m,1s
|
||||
cgrates.org,RT_RETAIL1,,,0,0,0,*free,RT_ALWAYS,,"* * * * *",0,false,0s,,0.4,1m,30s
|
||||
cgrates.org,RT_RETAIL1,,,,,,,RT_ALWAYS,,"* * * * *",0,false,1m,,0.2,1m,10s
|
||||
cgrates.org,RT_ANY2CNT_SEC,,,0,0,0,*free,RT_ALWAYS,,"* * * * *",0,false,0s,,0.02,1s,1s
|
||||
cgrates.org,RT_ANY1CNT_SEC,,,0,0,0,*free,RT_ALWAYS,,"* * * * *",0,false,0s,,0.01,1s,1s
|
||||
cgrates.org,RT_DEFAULT,,,20,0,0,*free,RT_ALWAYS,,"* * * * *",0,false,0s,,0.10,1m,10s
|
||||
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#Tenant,ID,FilterIDs,ActivationInterval,Weight,RoundingMethod,RoundingDecimals,MinCost,MaxCost,MaxCostStrategy,RateID,RateFilterIDs,RateActivationStart,RateWeight,RateBlocker,RateIntervalStart,RateFixedFee,RateRecurrentFee,RateUnit,RateIncrement
|
||||
cgrates.org,RT_SPECIAL_1002,*string:~*req.Account:1002,,10,*up,4,0,0,*free,RT_ALWAYS,,"* * * * *",0,false,0s,,0.01,1m,1s
|
||||
cgrates.org,RT_RETAIL1,,,0,*up,4,0,0,*free,RT_ALWAYS,,"* * * * *",0,false,0s,,0.4,1m,30s
|
||||
cgrates.org,RT_RETAIL1,,,,,,,,,RT_ALWAYS,,"* * * * *",0,false,1m,,0.2,1m,10s
|
||||
#Tenant,ID,FilterIDs,ActivationInterval,Weight,MinCost,MaxCost,MaxCostStrategy,RateID,RateFilterIDs,RateActivationStart,RateWeight,RateBlocker,RateIntervalStart,RateFixedFee,RateRecurrentFee,RateUnit,RateIncrement
|
||||
cgrates.org,RT_SPECIAL_1002,*string:~*req.Account:1002,,10,0,0,*free,RT_ALWAYS,,"* * * * *",0,false,0s,,0.01,1m,1s
|
||||
cgrates.org,RT_RETAIL1,,,0,0,0,*free,RT_ALWAYS,,"* * * * *",0,false,0s,,0.4,1m,30s
|
||||
cgrates.org,RT_RETAIL1,,,,,,,RT_ALWAYS,,"* * * * *",0,false,1m,,0.2,1m,10s
|
||||
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#Tenant,ID,FilterIDs,ActivationInterval,Weight,RoundingMethod,RoundingDecimals,MinCost,MaxCost,MaxCostStrategy,RateID,RateFilterIDs,RateActivationStart,RateWeight,RateBlocker,RateIntervalStart,RateFixedFee,RateRecurrentFee,RateUnit,RateIncrement
|
||||
cgrates.org,RP1,*string:~*req.Subject:1001,,0,*up,4,0.1,0.6,*free,RT_WEEK,,"* * * * 1-5",0,false,0s,,0.12,1m,1m
|
||||
cgrates.org,RP1,,,,,,,,,RT_WEEK,,,,,1m,,0.6,1m,1s
|
||||
cgrates.org,RP1,,,,,,,,,RT_WEEKEND,,"* * * * 0,6",10,false,0s,,0.06,1m,1s
|
||||
cgrates.org,RP1,,,,,,,,,RT_CHRISTMAS,,* * 24 12 *,30,false,0s,,0.06,1m,1s
|
||||
#Tenant,ID,FilterIDs,ActivationInterval,Weight,MinCost,MaxCost,MaxCostStrategy,RateID,RateFilterIDs,RateActivationStart,RateWeight,RateBlocker,RateIntervalStart,RateFixedFee,RateRecurrentFee,RateUnit,RateIncrement
|
||||
cgrates.org,RP1,*string:~*req.Subject:1001,,0,0.1,0.6,*free,RT_WEEK,,"* * * * 1-5",0,false,0s,,0.12,1m,1m
|
||||
cgrates.org,RP1,,,,,,,RT_WEEK,,,,,1m,,0.6,1m,1s
|
||||
cgrates.org,RP1,,,,,,,RT_WEEKEND,,"* * * * 0,6",10,false,0s,,0.06,1m,1s
|
||||
cgrates.org,RP1,,,,,,,RT_CHRISTMAS,,* * 24 12 *,30,false,0s,,0.06,1m,1s
|
||||
|
Reference in New Issue
Block a user