]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/File.pm
Merge branch 'b-3.6.1' into mebil
[kivitendo-erp.git] / SL / DB / File.pm
index d44f07225c21f36f78acef1e4685ad9f4fd53edd..0405b743a333a1e4fef68142bf7b0416dbf94cfa 100644 (file)
@@ -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;
 
 
@@ -20,29 +28,26 @@ __END__
 
 =head1 NAME
 
-  SL::DB::File - Databaseclass for File
+SL::DB::File - Databaseclass for File
 
 =head1 SYNOPSIS
 
-  use SL::DB::File;
+use SL::DB::File;
 
-  # synopsis...
+# synopsis...
 
 =head1 DESCRIPTION
 
-  # longer description.
-
+# longer description.
 
 =head1 INTERFACE
 
-
 =head1 DEPENDENCIES
 
-
 =head1 SEE ALSO
 
 =head1 AUTHOR
 
-  Werner Hahn E<lt>wh@futureworldsearch.netE<gt>
+Werner Hahn E<lt>wh@futureworldsearch.netE<gt>
 
 =cut