From: ivan Date: Wed, 2 Dec 2009 20:58:48 +0000 (+0000) Subject: add index to rate_prefix.npa for a performance improvement on CDR billing, RT#6386 X-Git-Tag: root_of_svc_elec_features~647 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=6235082affb5884d3caaaf18728771d322e0b2cf;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 cf6844e18..690cba591 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -2008,7 +2008,7 @@ sub tables_hashref { ], 'primary_key' => 'prefixnum', 'unique' => [], - 'index' => [ [ 'countrycode' ], [ 'regionnum' ] ], + 'index' => [ [ 'countrycode' ], [ 'npa' ], [ 'regionnum' ] ], }, 'usage_class' => {