From: ivan Date: Tue, 24 Mar 2009 06:31:06 +0000 (+0000) Subject: add indices for analyzing cc failures, RT#3843 X-Git-Tag: freeside_1_9_1^2~571 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=5bc96f1f56a0549bcf2cebdea0ad4bcae815d021;p=freeside.git add indices for analyzing cc failures, RT#3843 --- diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index 7307165da..745cf674b 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -398,7 +398,9 @@ sub tables_hashref { 'primary_key' => 'eventnum', #no... there are retries now #'unique' => [ [ 'eventpart', 'invnum' ] ], 'unique' => [], - 'index' => [ ['invnum'], ['status'], ['eventpart'] ], + 'index' => [ ['invnum'], ['status'], ['eventpart'], + ['statustext'], ['_date'], + ], }, 'part_bill_event' => { @@ -495,7 +497,9 @@ sub tables_hashref { 'primary_key' => 'eventnum', #no... there are retries now #'unique' => [ [ 'eventpart', 'invnum' ] ], 'unique' => [], - 'index' => [ ['eventpart'], ['tablenum'], ['status'] ], + 'index' => [ ['eventpart'], ['tablenum'], ['status'], + ['statustext'], ['_date'], + ], }, 'cust_bill_pkg' => {