summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-01-25 19:53:29 -0800
committerIvan Kohler <ivan@freeside.biz>2017-01-25 19:53:29 -0800
commit6397b13373e15c80a8c4623bdbbae90417b038f6 (patch)
treedee773ba4d87caaaf7a9a859937752c592f9302c
parent1bc45dbbd8782d13739c31844606a4ea9ffa94a7 (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 b08db788d..39e0d11f2 100644
--- a/FS/FS/Schema.pm
+++ b/FS/FS/Schema.pm
@@ -5593,6 +5593,7 @@ sub tables_hashref {
'unique' => [],
'index' => [ [ 'calldate' ],
[ 'src' ], [ 'dst' ], [ 'dcontext' ], [ 'charged_party' ],
+ [ 'startdate' ],
[ 'lastapp' ],
['accountcode'], ['uniqueid'], ['carrierid'], ['cdrid'],
[ 'sessionnum' ], [ 'subscriber' ],