X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2FSchema.pm;h=fc22d6c4fc772633da0f28fb3d046860d1829056;hp=6ea060963ae0bafea10401f09c61e2ddbf216623;hb=9ad0cdfb307e346add9e3496cf3cbdc1eee4e7d8;hpb=25386efd0e3f725d6cef005eba729840d3b4b3cb diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index 6ea060963..fc22d6c4f 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -1695,6 +1695,7 @@ sub tables_hashref { 'invoice_attn', 'varchar', 'NULL', $char_d, '', '', 'invoice_ship_address', 'char', 'NULL', 1, '', '', 'postal_invoice', 'char', 'NULL', 1, '', '', + 'paymentreceipt_noemail', 'char', 'NULL', 1, '', '', ], 'primary_key' => 'custnum', 'unique' => [ [ 'agentnum', 'agent_custid' ] ], @@ -2317,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' => [], @@ -5658,6 +5660,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, '', '', @@ -7665,11 +7670,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, '', '', @@ -7677,23 +7682,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' => {