From: ivan Date: Wed, 2 Dec 2009 20:58:51 +0000 (+0000) Subject: add index to rate_prefix.npa for a performance improvement on CDR billing, RT#6386 X-Git-Tag: freeside_1_9_2~201 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=c6db21c269f5a73986be7ab631def530392d185f;p=freeside.git add index to rate_prefix.npa for a performance improvement on CDR billing, RT#6386 --- diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index 06baab6ed..c08a30032 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -1969,7 +1969,7 @@ sub tables_hashref { ], 'primary_key' => 'prefixnum', 'unique' => [], - 'index' => [ [ 'countrycode' ], [ 'regionnum' ] ], + 'index' => [ [ 'countrycode' ], [ 'npa' ], [ 'regionnum' ] ], }, 'usage_class' => {