X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FSchema.pm;h=e7b3b6fc67c7db607eb23d194bc57870932d17d0;hb=67b05564568d10ee3833a87f09b752d0319934ba;hp=cd4f01d3e07214c33c161d6e34b699acc5d454c3;hpb=35c18f29bc29dedfe2fa4ef037390d90b17f87ba;p=freeside.git diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index cd4f01d3e..e7b3b6fc6 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -1633,6 +1633,7 @@ sub tables_hashref { 'complimentary', 'char', 'NULL', 1, '', '', 'po_number', 'varchar', 'NULL', $char_d, '', '', 'invoice_attn', 'varchar', 'NULL', $char_d, '', '', + 'invoice_ship_address', 'char', 'NULL', 1, '', '', ], 'primary_key' => 'custnum', 'unique' => [ [ 'agentnum', 'agent_custid' ] ], @@ -1980,7 +1981,12 @@ sub tables_hashref { 'primary_key' => 'quotationtaxnum',, 'unique' => [], 'index' => [ [ 'quotationpkgnum' ] ], - }, + 'foreign_keys' => [ + { columns => [ 'quotationpkgnum' ], + table => 'quotation_pkg', + }, + ], +}, 'cust_location' => { #'location' now that its prospects too, but... 'columns' => [ @@ -2791,11 +2797,11 @@ sub tables_hashref { 'cust_pkg_detail' => { 'columns' => [ - 'pkgdetailnum', 'serial', '', '', '', '', - 'pkgnum', 'int', '', '', '', '', - 'detail', 'varchar', '', $char_d, '', '', - 'detailtype', 'char', '', 1, '', '', # "I"nvoice or "C"omment - 'weight', 'int', '', '', '', '', + 'pkgdetailnum', 'serial', '', '', '', '', + 'pkgnum', 'int', '', '', '', '', + 'detail', 'varchar', '', 2*$char_d, '', '', + 'detailtype', 'char', '', 1, '', '', #"I"nvoice or "C"omment + 'weight', 'int', '', '', '', '', ], 'primary_key' => 'pkgdetailnum', 'unique' => [],