X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FSchema.pm;h=59abbda8afeea27a8a15856abe5e9336241e2f9d;hb=35e195cdee48f99ca9b6406491696c7cdccb7814;hp=7307165da56dfafd41bb868f4e3828c45a515e74;hpb=541207eb5505eee6eafd25e861230bdb36ac5fb3;p=freeside.git diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index 7307165da..59abbda8a 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' => { @@ -1229,7 +1233,7 @@ sub tables_hashref { ], 'primary_key' => 'pkgsvcnum', 'unique' => [ ['pkgpart', 'svcpart'] ], - 'index' => [ ['pkgpart'] ], + 'index' => [ ['pkgpart'], ['quantity'] ], }, 'part_referral' => {