summaryrefslogtreecommitdiff
path: root/FS/FS/Schema.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-01-25 19:53:28 -0800
committerIvan Kohler <ivan@freeside.biz>2017-01-25 19:53:28 -0800
commit87762d33fc08d6a063bc16edab550bdb42f34c9f (patch)
tree5e4f271e523895b24d1d6cb2aeb47d69459c052e /FS/FS/Schema.pm
parent7fe97938da9c746887cc3d4aa62399bd589995b0 (diff)
improve performance of self-service usage overview with lots of CDRs, RT#73889
Diffstat (limited to 'FS/FS/Schema.pm')
-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 0e41b1a..bacef72 100644
--- a/FS/FS/Schema.pm
+++ b/FS/FS/Schema.pm
@@ -5621,6 +5621,7 @@ sub tables_hashref {
'unique' => [],
'index' => [ [ 'calldate' ],
[ 'src' ], [ 'dst' ], [ 'dcontext' ], [ 'charged_party' ],
+ [ 'startdate' ],
[ 'lastapp' ],
['accountcode'], ['uniqueid'], ['carrierid'], ['cdrid'],
[ 'sessionnum' ], [ 'subscriber' ],