X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FSchema.pm;h=473532180d28d3e4604bb466155ad32961346ada;hb=f786ebaff8b6704e4e180428aaaa9afeaea7ecb9;hp=b70b3518d2da2d3e8bf164fae49c0399685c0d69;hpb=43dcceb2c6bfe6a82fa4c5704a379f80063219c9;p=freeside.git diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index b70b3518d..473532180 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -570,6 +570,7 @@ sub tables_hashref { 'invoice_terms', 'varchar', 'NULL', $char_d, '', '', #customer balance info at invoice generation time + #(deprecated) 'previous_balance', @money_typen, '', '', #eventually not nullable 'billing_balance', @money_typen, '', '', #eventually not nullable @@ -2815,7 +2816,7 @@ sub tables_hashref { ], 'primary_key' => 'prepaynum', 'unique' => [ ['identifier'] ], - 'index' => [], + 'index' => [ ['agentnum'] ], }, 'port' => { @@ -2901,6 +2902,21 @@ sub tables_hashref { 'index' => [ [ 'jobnum' ], [ 'depend_jobnum' ] ], }, + 'queue_stat' => { + 'columns' => [ + 'statnum', 'bigserial', '', '', '', '', + 'jobnum', 'bigint', '', '', '', '', + 'job', 'varchar', '', 512, '', '', + 'custnum', 'int', 'NULL', '', '', '', + 'insert_date', @date_type, '', '', + 'start_date', @date_type, '', '', + 'end_date', @date_type, '', '', + ], + 'primary_key' => 'statnum', + 'unique' => [], #[ ['jobnum'] ], + 'index' => [], + }, + 'export_svc' => { 'columns' => [ 'exportsvcnum' => 'serial', '', '', '', '', @@ -4551,7 +4567,7 @@ sub tables_hashref { 'exportnum', 'int', '', '', '', '', '_date', 'int', '', '', '', '', 'status', 'varchar', 'NULL', 32, '', '', - 'statustext', 'varchar', 'NULL', $char_d, '', '', + 'statustext', 'text', 'NULL', '', '', '', ], 'primary_key' => 'batchnum', 'unique' => [], @@ -4581,10 +4597,6 @@ sub tables_hashref { table => 'export_batch', references => [ 'batchnum' ] }, - { columns => [ 'svcnum' ], - table => 'cust_svc', - references => [ 'svcnum' ] - }, ], },