projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad46cc4
)
Volltext-Suche: Rose-Beziehung von File zu full_text
author
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Wed, 6 Apr 2022 09:22:01 +0000
(11:22 +0200)
committer
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Wed, 18 May 2022 12:13:48 +0000
(14:13 +0200)
SL/DB/File.pm
patch
|
blob
|
history
diff --git
a/SL/DB/File.pm
b/SL/DB/File.pm
index
615f8d1
..
0405b74
100644
(file)
--- 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;