X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/f9676efea9ccfa01df2a57dca9c45cc8fde0d09e..7635f647ec7dcdef51684b21601ee0930ea2bc5b:/SL/DB/MetaSetup/Translation.pm diff --git a/SL/DB/MetaSetup/Translation.pm b/SL/DB/MetaSetup/Translation.pm index acd9606ac..54165bb77 100644 --- a/SL/DB/MetaSetup/Translation.pm +++ b/SL/DB/MetaSetup/Translation.pm @@ -22,6 +22,13 @@ __PACKAGE__->meta->setup( primary_key_columns => [ 'id' ], allow_inline_column_values => 1, + + foreign_keys => [ + language => { + class => 'SL::DB::Language', + key_columns => { language_id => 'id' }, + }, + ], ); 1;