From: Ivan Kohler Date: Thu, 26 Jan 2017 03:53:55 +0000 (-0800) Subject: improve performance of CDR queries, RT#73889 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=ca78f4530f7d5ee0b1b9f708e318108ad3aa1a7a improve performance of CDR queries, RT#73889 --- diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index bacef7282..1630f02c3 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -5621,7 +5621,8 @@ sub tables_hashref { 'unique' => [], 'index' => [ [ 'calldate' ], [ 'src' ], [ 'dst' ], [ 'dcontext' ], [ 'charged_party' ], - [ 'startdate' ], + [ 'startdate' ], [ 'duration' ], + [ 'cdrtypenum' ], [ 'calltypenum' ], [ 'lastapp' ], ['accountcode'], ['uniqueid'], ['carrierid'], ['cdrid'], [ 'sessionnum' ], [ 'subscriber' ],