diff --git a/data/storage/postgres/create_tariffplan_tables.sql b/data/storage/postgres/create_tariffplan_tables.sql index 153b4358c..0e05e21c2 100644 --- a/data/storage/postgres/create_tariffplan_tables.sql +++ b/data/storage/postgres/create_tariffplan_tables.sql @@ -328,5 +328,5 @@ CREATE TABLE tp_cdr_stats ( action_triggers VARCHAR(64) NOT NULL, created_at TIMESTAMP ); -CREATE INDEX tpcdrstats_tpid_idx ON tp_cdrstats (tpid); -CREATE INDEX tpcdrstats_idx ON tp_cdrstats (tpid,tag); +CREATE INDEX tpcdrstats_tpid_idx ON tp_cdr_stats (tpid); +CREATE INDEX tpcdrstats_idx ON tp_cdr_stats (tpid,tag);