mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-23 16:18:44 +05:00
Changed Weights from float64 to DynamicWeights for Resources and Chargers
This commit is contained in:
committed by
Dan Christian Bogos
parent
74700402f2
commit
fad736e5a6
@@ -16,7 +16,7 @@ CREATE TABLE tp_resources (
|
||||
`allocation_message` varchar(64) NOT NULL,
|
||||
`blocker` BOOLEAN NOT NULL,
|
||||
`stored` BOOLEAN NOT NULL,
|
||||
`weight` decimal(8,2) NOT NULL,
|
||||
`weights` varchar(64) NOT NULL,
|
||||
`threshold_ids` varchar(64) NOT NULL,
|
||||
`created_at` TIMESTAMP,
|
||||
PRIMARY KEY (`pk`),
|
||||
@@ -168,7 +168,7 @@ CREATE TABLE tp_chargers (
|
||||
`activation_interval` varchar(64) NOT NULL,
|
||||
`run_id` varchar(64) NOT NULL,
|
||||
`attribute_ids` varchar(64) NOT NULL,
|
||||
`weight` decimal(8,2) NOT NULL,
|
||||
`weights` varchar(64) NOT NULL,
|
||||
`created_at` TIMESTAMP,
|
||||
PRIMARY KEY (`pk`),
|
||||
KEY `tpid` (`tpid`),
|
||||
|
||||
Reference in New Issue
Block a user