summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-01-25 19:53:31 -0800
committerIvan Kohler <ivan@freeside.biz>2017-01-25 19:53:31 -0800
commit166ebcd9abf5f95c18a4ce87e1a590a8510d7abc (patch)
tree4f38fcbed78a1411867f85ca0babb3fb69acb750
parent0271da55f0dcec6473d65e161a8c25616f179b9f (diff)
improve performance of self-service usage overview with lots of CDRs, RT#73889
-rw-r--r--FS/FS/Schema.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm
index 26fa08dd0..a158f39c2 100644
--- a/FS/FS/Schema.pm
+++ b/FS/FS/Schema.pm
@@ -3911,6 +3911,7 @@ sub tables_hashref {
'unique' => [],
'index' => [ [ 'calldate' ],
[ 'src' ], [ 'dst' ], [ 'dcontext' ], [ 'charged_party' ],
+ [ 'startdate' ],
[ 'lastapp' ],
['accountcode'], ['uniqueid'], ['carrierid'], ['cdrid'],
[ 'sessionnum' ], [ 'subscriber' ],