diff --git a/data/storage/postgres/create_cdrs_tables.sql b/data/storage/postgres/create_cdrs_tables.sql index 4d4fc928c..4aa36828f 100644 --- a/data/storage/postgres/create_cdrs_tables.sql +++ b/data/storage/postgres/create_cdrs_tables.sql @@ -63,7 +63,7 @@ CREATE TABLE cost_details ( subject VARCHAR(128) NOT NULL, destination VARCHAR(128) NOT NULL, cost NUMERIC(20,4) NOT NULL, - timespans text, + timespans jsonb, cost_source VARCHAR(64) NOT NULL, created_at TIMESTAMP, updated_at TIMESTAMP,