X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=FS%2FFS%2FSchema.pm;h=8600217991acd5ff620a8f3230c4c54a7d13fa78;hb=ee7e3cc614c860c8d0aa2fdc9b112c57fe548ff2;hp=429bc550b5a2651da075b8eb5f3b8aeb7eac0e86;hpb=7a7776bc564aa2fb03c7c217d9e6f5fd39d8eb5f;p=freeside.git diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index 429bc550b..860021799 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -1386,7 +1386,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, '', '', ], @@ -1394,7 +1394,7 @@ sub tables_hashref { 'unique' => [], 'index' => [ [ 'billpkgnum' ] ], 'foreign_keys' => [ - { columns => [ 'billpkgnum' ], + { columns => [ 'quotationpkgnum' ], table => 'quotation_pkg', references => [ 'quotationpkgnum' ], },