From: ivan Date: Sun, 1 Feb 2009 10:37:16 +0000 (+0000) Subject: indexing cust_bill_event.eventpart should help speed up freeside-migrate-events sligh... X-Git-Tag: root_of_webpay_support~93 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=caef4c4a835a14cdc0228ef9b5356db98b70398c indexing cust_bill_event.eventpart should help speed up freeside-migrate-events slightly... RT#4277 --- diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index d32f72f23..232977a5d 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -396,7 +396,7 @@ sub tables_hashref { 'primary_key' => 'eventnum', #no... there are retries now #'unique' => [ [ 'eventpart', 'invnum' ] ], 'unique' => [], - 'index' => [ ['invnum'], ['status'] ], + 'index' => [ ['invnum'], ['status'], ['eventpart'] ], }, 'part_bill_event' => {