X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FSchema.pm;h=8cc8416de40ff8a4aede1a10beca75362fe107b0;hb=02d73ef84103d6bdaf49e6a179a0ad46f9719d25;hp=169d22ac8ab781fa2c8b6177d863309ef8ce9fa3;hpb=0e115ecd7e70269ac58ce705adec4b1c801d14de;p=freeside.git diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index 169d22ac8..8cc8416de 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -2318,6 +2318,7 @@ sub tables_hashref { 'setuptax', 'char', 'NULL', 1, '', '', # Y = setup tax exempt 'recurtax', 'char', 'NULL', 1, '', '', # Y = recur tax exempt 'source', 'varchar', 'NULL', $char_d, '', '', + 'charge_prediscount', 'char', 'NULL', 1, '', '', # Y = charge this tax pre discount ], 'primary_key' => 'taxnum', 'unique' => [], @@ -2710,6 +2711,7 @@ sub tables_hashref { 'upload', @date_type, '', '', 'title', 'varchar', 'NULL',255, '', '', 'processor_id', 'varchar', 'NULL',255, '', '', + 'type', 'char', '', 6, 'DEBIT', '', # DEBIT/CREDIT ], 'primary_key' => 'batchnum', 'unique' => [], @@ -5659,6 +5661,9 @@ sub tables_hashref { #NULL, done (or something) 'freesidestatus', 'varchar', 'NULL', 32, '', '', + #additional status info (i.e. reason for "skipped" freesidestatus) + 'freesidestatustext', 'text', 'NULL', '', '', '', + #NULL, done (or something) 'freesiderewritestatus', 'varchar', 'NULL', 32, '', '', @@ -7666,11 +7671,11 @@ sub tables_hashref { ], }, - realestate_location => { + 'realestate_location' => { 'columns' => [ 'realestatelocnum', 'serial', '', '', '', '', 'agentnum', 'int', 'NULL', '', '', '', - 'location_title', 'varchar', '', $char_d, '', '', + 'location_title', 'varchar', '', $char_d, '', '', 'address1', 'varchar', 'NULL', $char_d, '', '', 'address2', 'varchar', 'NULL', $char_d, '', '', 'city', 'varchar', 'NULL', $char_d, '', '', @@ -7678,23 +7683,39 @@ sub tables_hashref { 'zip', 'char', 'NULL', 5, '', '', 'disabled', 'char', 'NULL', 1, '', '', ], - primary_key => 'realestatelocnum', - 'unique' => [ ['location_title'] ], - 'index' => [ ['agentnum'], ['disabled'] ], + 'primary_key' => 'realestatelocnum', + 'unique' => [ ['location_title'] ], + 'index' => [ ['agentnum'], ['disabled'] ], 'foreign_keys' => [ {columns => ['agentnum'], table => 'agent'}, ], }, - svc_realestate => { - columns => [ + 'svc_realestate' => { + 'columns' => [ 'svcnum', 'serial', '', '', '', '', 'realestatenum', 'int', 'NULL', '', '', '', ], - primary_key => 'svcnum', - index => [], + 'primary_key' => 'svcnum', + 'index' => [], }, + 'svc_group' => { + 'columns' => [ + 'svcnum', 'int', '', '', '', '', + 'max_accounts', 'int', '', '', '', '', + ], + 'primary_key' => 'svcnum', + 'unique' => [], + 'index' => [], + 'foreign_keys' => [ + { columns => [ 'svcnum' ], + table => 'cust_svc', + }, + ], + }, + + # name type nullability length default local #'new_table' => {