mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-15 21:29:52 +05:00
ResourceLimits with standalone RPC object, renaming of RPC methods
This commit is contained in:
@@ -406,7 +406,7 @@ CREATE TABLE tp_resource_limits (
|
||||
`created_at` TIMESTAMP,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `tpid` (`tpid`),
|
||||
UNIQUE KEY `unique_tp_resource_limits` (`tpid`, `tag`)
|
||||
UNIQUE KEY `unique_tp_resource_limits` (`tpid`, `tag`, `filter_type`, `filter_field_name`)
|
||||
);
|
||||
|
||||
DROP TABLE IF EXISTS versions;
|
||||
|
||||
@@ -401,7 +401,7 @@ CREATE TABLE tp_resource_limits (
|
||||
"created_at" TIMESTAMP WITH TIME ZONE
|
||||
);
|
||||
CREATE INDEX tp_resource_limits_idx ON tp_resource_limits (tpid);
|
||||
CREATE INDEX tp_resource_limits_unique ON tp_resource_limits ("tpid", "tag");
|
||||
CREATE INDEX tp_resource_limits_unique ON tp_resource_limits ("tpid", "tag", "filter_type", "filter_field_name");
|
||||
|
||||
DROP TABLE IF EXISTS versions;
|
||||
CREATE TABLE versions (
|
||||
|
||||
Reference in New Issue
Block a user