Removed DerivedChrgerS

This commit is contained in:
Trial97
2019-02-18 16:12:36 +02:00
committed by Dan Christian Bogos
parent fd49d3194b
commit b8ff4bdfd9
83 changed files with 102 additions and 3337 deletions

View File

@@ -238,43 +238,6 @@ CREATE INDEX tpaccountactions_tpid_idx ON tp_account_actions (tpid);
CREATE INDEX tpaccountactions_idx ON tp_account_actions (tpid,loadid,tenant,account);
--
-- Table structure for table `tp_derived_chargers`
--
DROP TABLE IF EXISTS tp_derived_chargers;
CREATE TABLE tp_derived_chargers (
id SERIAL PRIMARY KEY,
tpid VARCHAR(64) NOT NULL,
loadid VARCHAR(64) NOT NULL,
direction VARCHAR(8) NOT NULL,
tenant VARCHAR(64) NOT NULL,
category VARCHAR(32) NOT NULL,
account VARCHAR(64) NOT NULL,
subject VARCHAR(64) NOT NULL,
destination_ids VARCHAR(64) NOT NULL,
runid VARCHAR(24) NOT NULL,
run_filters VARCHAR(256) NOT NULL,
req_type_field VARCHAR(64) NOT NULL,
direction_field VARCHAR(64) NOT NULL,
tenant_field VARCHAR(64) NOT NULL,
category_field VARCHAR(64) NOT NULL,
account_field VARCHAR(64) NOT NULL,
subject_field VARCHAR(64) NOT NULL,
destination_field VARCHAR(64) NOT NULL,
setup_time_field VARCHAR(64) NOT NULL,
pdd_field VARCHAR(64) NOT NULL,
answer_time_field VARCHAR(64) NOT NULL,
usage_field VARCHAR(64) NOT NULL,
supplier_field VARCHAR(64) NOT NULL,
disconnect_cause_field VARCHAR(64) NOT NULL,
rated_field VARCHAR(64) NOT NULL,
cost_field VARCHAR(64) NOT NULL,
created_at TIMESTAMP WITH TIME ZONE
);
CREATE INDEX tpderivedchargers_tpid_idx ON tp_derived_chargers (tpid);
CREATE INDEX tpderivedchargers_idx ON tp_derived_chargers (tpid,loadid,direction,tenant,category,account,subject);
--
-- Table structure for table `tp_resources`
--