X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FSchema.pm;h=9f9770c31e311e3a189e892a81f7ca5e5a33efbf;hb=6af1b1bfa25e5ececef5e0dcd38b55917121cee2;hp=ab68765dd64400655e225e9e0be0402dfb3395fe;hpb=42cf7d3e2356d7b92fab9703de77e7ba747fabae;p=freeside.git diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index ab68765dd..9f9770c31 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -51,7 +51,7 @@ sub reload_dbdef { unless ( exists $dbdef_cache{$file} ) { warn "[debug]$me loading dbdef for $file\n" if $DEBUG; $dbdef_cache{$file} = DBIx::DBSchema->load( $file ) - or die "can't load database schema from $file: $DBIx::DBSchema::errstr"; + or die "can't load database schema from $file: $DBIx::DBSchema::errstr\n"; } else { warn "[debug]$me re-using cached dbdef for $file\n" if $DEBUG; } @@ -545,6 +545,19 @@ sub tables_hashref { 'index' => [ [ 'paynum' ], [ 'invnum' ] ], }, + 'cust_bill_pay_batch' => { + 'columns' => [ + 'billpaynum', 'serial', '', '', '', '', + 'invnum', 'int', '', '', '', '', + 'paybatchnum', 'int', '', '', '', '', + 'amount', @money_type, '', '', + '_date', @date_type, '', '', + ], + 'primary_key' => 'billpaynum', + 'unique' => [], + 'index' => [ [ 'paybatchnum' ], [ 'invnum' ] ], + }, + 'cust_bill_pay_pkg' => { 'columns' => [ 'billpaypkgnum', 'serial', '', '', '', '',