populate cdr Usage

This commit is contained in:
Radu Ioan Fericean
2016-03-24 17:39:47 +02:00
parent 73286e3c71
commit 4ff66e0883
14 changed files with 63 additions and 51 deletions

View File

@@ -42,6 +42,7 @@ CREATE TABLE sm_costs (
cgrid char(40) NOT NULL,
run_id varchar(64) NOT NULL,
cost_source varchar(64) NOT NULL,
`usage` DECIMAL(30,9) NOT NULL,
cost_details text,
created_at TIMESTAMP,
deleted_at TIMESTAMP,

View File

@@ -45,6 +45,7 @@ CREATE TABLE sm_costs (
cgrid CHAR(40) NOT NULL,
run_id VARCHAR(64) NOT NULL,
cost_source VARCHAR(64) NOT NULL,
usage NUMERIC(30,9) NOT NULL,
cost_details jsonb,
created_at TIMESTAMP,
deleted_at TIMESTAMP,