bulk credit import, RT#26319
authorIvan Kohler <ivan@freeside.biz>
Wed, 15 Jan 2014 22:37:02 +0000 (14:37 -0800)
committerIvan Kohler <ivan@freeside.biz>
Wed, 15 Jan 2014 22:37:02 +0000 (14:37 -0800)
FS/FS/Schema.pm

index 2444198..0a70eb6 100644 (file)
@@ -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' => {