X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/d0c938cfb5fbb8c1c03b94d395d6c7839a1c597e..7635f647ec7dcdef51684b21601ee0930ea2bc5b:/SL/DB/MetaSetup/Exchangerate.pm?ds=sidebyside diff --git a/SL/DB/MetaSetup/Exchangerate.pm b/SL/DB/MetaSetup/Exchangerate.pm index f6dc3ff9f..ddd09438b 100644 --- a/SL/DB/MetaSetup/Exchangerate.pm +++ b/SL/DB/MetaSetup/Exchangerate.pm @@ -20,6 +20,15 @@ __PACKAGE__->meta->setup( ], primary_key_columns => [ 'id' ], + + allow_inline_column_values => 1, + + foreign_keys => [ + currency => { + class => 'SL::DB::Currency', + key_columns => { currency_id => 'id' }, + }, + ], ); 1;