From ec863ef089ed20e21caeea235924de5b5d0e6fd7 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Wed, 15 Jan 2014 14:37:02 -0800 Subject: [PATCH] bulk credit import, RT#26319 --- FS/FS/Schema.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index 2444198b8..0a70eb6bc 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -820,10 +820,13 @@ sub tables_hashref { 'closed', 'char', 'NULL', 1, '', '', 'pkgnum', 'int', 'NULL', '', '', '', #desired pkgnum for pkg-balances 'eventnum', 'int', 'NULL', '', '', '', #triggering event for commission + 'credbatch', 'varchar', 'NULL', $char_d, '', '', ], 'primary_key' => 'crednum', 'unique' => [], - 'index' => [ ['custnum'], ['_date'], ['usernum'], ['eventnum'] ], + 'index' => [ ['custnum'], ['_date'], ['usernum'], ['eventnum'], + ['credbatch'], + ], }, 'cust_credit_bill' => { -- 2.11.0