From: Bernd Bleßmann Date: Wed, 6 Apr 2022 09:22:01 +0000 (+0200) Subject: Volltext-Suche: Rose-Beziehung von File zu full_text X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~26 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=7718459cd0be728a57d7ca75dd8077316df7d730;p=kivitendo-erp.git Volltext-Suche: Rose-Beziehung von File zu full_text --- diff --git a/SL/DB/File.pm b/SL/DB/File.pm index 615f8d134..0405b743a 100644 --- a/SL/DB/File.pm +++ b/SL/DB/File.pm @@ -8,6 +8,14 @@ use strict; use SL::DB::MetaSetup::File; use SL::DB::Manager::File; +__PACKAGE__->meta->add_relationship( + full_text => { + type => 'one to one', + class => 'SL::DB::FileFullText', + column_map => { id => 'file_id' }, + }, +); + __PACKAGE__->meta->initialize;