From: ivan Date: Thu, 17 Nov 2005 12:27:39 +0000 (+0000) Subject: add cust_pkg2 index on cust_pkg.pkgpart X-Git-Tag: BEFORE_FINAL_MASONIZE~308 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=85aee8e40103f4e9d547258f8a06fea580345519;hp=3c0e96d4579c22df58de58dac0797c16d8df76c8;p=freeside.git add cust_pkg2 index on cust_pkg.pkgpart --- diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index aacc16474..aaca5ef3b 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -561,7 +561,7 @@ sub tables_hashref { ], 'primary_key' => 'pkgnum', 'unique' => [], - 'index' => [ ['custnum'] ], + 'index' => [ ['custnum'], ['pkgpart'] ], }, 'cust_refund' => { diff --git a/README.1.5.8 b/README.1.5.8 index b5ba98005..ce5a5d09f 100644 --- a/README.1.5.8 +++ b/README.1.5.8 @@ -8,6 +8,9 @@ install Business::CreditCard 0.28 install the new version run "freeside-upgrade username" to uprade your database schema +Optional: +CREATE INDEX cust_pkg2 ON cust_pkg ( pkgpart ); + Optional for better VoIP performance: CREATE INDEX rate_detail2 ON rate_detail ( ratenum, dest_regionnum );