X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FSchema.pm;h=7880cc10c6277950a13131c8f9aa802bfe27b9d9;hb=96b69dd1aa5c8045b5a4297ecea510d60f575251;hp=6b5d6586c38ab777731d329cf7168d83f75934b8;hpb=5da68ff1a7c638e30cbafbc9b0749f1e82b333df;p=freeside.git diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index 6b5d6586c..7880cc10c 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -1973,7 +1973,7 @@ sub tables_hashref { 'quotation_pkg_detail' => { 'columns' => [ 'detailnum', 'serial', '', '', '', '', - 'billpkgnum', 'int', '', '', '', '', # actually links to quotationpkgnum + 'quotationpkgnum', 'int', '', '', '', '', 'format', 'char', 'NULL', 1, '', '', # not used for anything 'detail', 'varchar', '', 255, '', '', ], @@ -1981,7 +1981,7 @@ sub tables_hashref { 'unique' => [], 'index' => [ [ 'billpkgnum' ] ], 'foreign_keys' => [ - { columns => [ 'billpkgnum' ], + { columns => [ 'quotationpkgnum' ], table => 'quotation_pkg', references => [ 'quotationpkgnum' ], },