mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-15 21:29:52 +05:00
add implementation for new ips module
This commit is contained in:
committed by
Dan Christian Bogos
parent
d6676866d5
commit
43cdd396ba
@@ -263,6 +263,30 @@ CREATE INDEX tp_resources_idx ON tp_resources (tpid);
|
||||
CREATE INDEX tp_resources_unique ON tp_resources ("tpid", "tenant", "id", "filter_ids");
|
||||
|
||||
|
||||
--
|
||||
-- Table structure for table `tp_ips`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS tp_ips;
|
||||
CREATE TABLE tp_ips (
|
||||
"pk" SERIAL PRIMARY KEY,
|
||||
"tpid" varchar(64) NOT NULL,
|
||||
"tenant"varchar(64) NOT NULL,
|
||||
"id" varchar(64) NOT NULL,
|
||||
"filter_ids" varchar(64) NOT NULL,
|
||||
"activation_interval" varchar(64) NOT NULL,
|
||||
"ttl" varchar(32) NOT NULL,
|
||||
"type" varchar(64) NOT NULL,
|
||||
"address_pool" varchar(64) NOT NULL,
|
||||
"allocation" varchar(64) NOT NULL,
|
||||
"stored" BOOLEAN NOT NULL,
|
||||
"weight" NUMERIC(8,2) NOT NULL,
|
||||
"created_at" TIMESTAMP WITH TIME ZONE
|
||||
);
|
||||
CREATE INDEX tp_ips_idx ON tp_ips (tpid);
|
||||
CREATE INDEX tp_ips_unique ON tp_ips ("tpid", "tenant", "id", "filter_ids");
|
||||
|
||||
|
||||
--
|
||||
-- Table structure for table `tp_stats`
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user