diff options
author | Ivan Kohler <ivan@freeside.biz> | 2018-09-13 15:46:57 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2018-09-13 15:46:57 -0700 |
commit | 189fedab21efcf42f18d93b8f73033bb9249c6cd (patch) | |
tree | 65a68ca180a4bea7a0516a95df77ff86c4af1290 /FS/FS/Schema.pm | |
parent | f25731325e3f80699074032165cd1bd0a5d6ccba (diff) |
optimize declined payment event condition, RT#81305
Diffstat (limited to 'FS/FS/Schema.pm')
-rw-r--r-- | FS/FS/Schema.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index 5a604bc..08eae6a 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -2719,7 +2719,7 @@ sub tables_hashref { ], 'primary_key' => 'paybatchnum', 'unique' => [], - 'index' => [ ['batchnum'], ['invnum'], ['custnum'] ], + 'index' => [ ['batchnum'], ['invnum'], ['custnum'],['status'] ], 'foreign_keys' => [ { columns => [ 'batchnum' ], table => 'pay_batch', |