X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/b8b112a39bd601b0bc717646d78de470631da22a..64b49f6c38c2c5763f21df00c7b4580ff70893be:/SL/DB/MetaSetup/Draft.pm?ds=inline diff --git a/SL/DB/MetaSetup/Draft.pm b/SL/DB/MetaSetup/Draft.pm index 374c19e9c..0a24c4b48 100644 --- a/SL/DB/MetaSetup/Draft.pm +++ b/SL/DB/MetaSetup/Draft.pm @@ -22,6 +22,13 @@ __PACKAGE__->meta->primary_key_columns([ 'id' ]); __PACKAGE__->meta->allow_inline_column_values(1); +__PACKAGE__->meta->foreign_keys( + employee => { + class => 'SL::DB::Employee', + key_columns => { employee_id => 'id' }, + }, +); + # __PACKAGE__->meta->initialize; 1;