From 6235082affb5884d3caaaf18728771d322e0b2cf Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 2 Dec 2009 20:58:48 +0000 Subject: [PATCH] add index to rate_prefix.npa for a performance improvement on CDR billing, RT#6386 --- FS/FS/Schema.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' => { -- 2.11.0