Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 84530888

Von Thomas Heck vor fast 11 Jahren hinzugefügt

  • ID 84530888321c20c44b7fe4a2ef4bc7dccabf13c2
  • Vorgänger e9562f2e
  • Nachfolger c0cd58d9

SL::DB::Note gefixt

Unterschiede anzeigen:

SL/DB/Note.pm
7 7

  
8 8
use SL::DB::MetaSetup::Note;
9 9

  
10
__PACKAGE__->meta->initialize;
11

  
12
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
13
__PACKAGE__->meta->make_manager_class;
14 10

  
15 11
__PACKAGE__->meta->add_relationships(
16
  followup => {
12
  follow_up => {
17 13
    type         => 'one to one',
18 14
    class        => 'SL::DB::FollowUp',
19
    column_map   => { id => 'id' },
15
    column_map   => { id => 'note_id' },
20 16
  },
21 17
);
22 18

  
19
__PACKAGE__->meta->initialize;
20

  
21
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
22
__PACKAGE__->meta->make_manager_class;
23

  
24

  
23 25
1;

Auch abrufbar als: Unified diff