X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/26892ad4061a94cce873952f1e72d4f7badf6e3b..ba0c9f34b18fbf73fb97cfbf69a1ea679bdd49b0:/SL/DB/MetaSetup/Default.pm diff --git a/SL/DB/MetaSetup/Default.pm b/SL/DB/MetaSetup/Default.pm index 7b1df394f..d6b6b8458 100644 --- a/SL/DB/MetaSetup/Default.pm +++ b/SL/DB/MetaSetup/Default.pm @@ -67,6 +67,8 @@ __PACKAGE__->meta->setup( ar_show_mark_as_paid => { type => 'boolean', default => 'true' }, ap_show_mark_as_paid => { type => 'boolean', default => 'true' }, assemblynumber => { type => 'text' }, + warehouse_id => { type => 'integer' }, + bin_id => { type => 'integer' }, currency_id => { type => 'integer', not_null => 1 }, ], @@ -75,6 +77,15 @@ __PACKAGE__->meta->setup( allow_inline_column_values => 1, foreign_keys => [ + bin => { + class => 'SL::DB::Bin', + key_columns => { bin_id => 'id' }, + }, + + warehouse => { + class => 'SL::DB::Warehouse', + key_columns => { warehouse_id => 'id' }, + }, currency => { class => 'SL::DB::Currency', key_columns => { currency_id => 'id' },