Small fix indexing of the stats

This commit is contained in:
DanB
2015-07-08 19:01:14 +02:00
parent cc762e9551
commit 25df2b85a6

View File

@@ -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);