Changed Weights from float64 to DynamicWeights for Resources and Chargers

This commit is contained in:
andronache98
2022-02-10 14:53:51 +02:00
committed by Dan Christian Bogos
parent 74700402f2
commit fad736e5a6
62 changed files with 1322 additions and 621 deletions

View File

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