From 7718459cd0be728a57d7ca75dd8077316df7d730 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Wed, 6 Apr 2022 11:22:01 +0200 Subject: [PATCH] Volltext-Suche: Rose-Beziehung von File zu full_text --- SL/DB/File.pm | 8 ++++++++ 1 file changed, 8 insertions(+) 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; -- 2.20.1