Revision 5bca555d
Von Jan Büren vor 11 Monaten hinzugefügt
SL/DB/File.pm | ||
---|---|---|
16 | 16 |
}, |
17 | 17 |
); |
18 | 18 |
|
19 |
__PACKAGE__->meta->add_relationship( |
|
20 |
file_version => { |
|
21 |
type => 'one to many', |
|
22 |
class => 'SL::DB::FileVersion', |
|
23 |
column_map => { id => 'file_id' }, |
|
24 |
}, |
|
25 |
); |
|
26 |
|
|
27 |
|
|
19 | 28 |
__PACKAGE__->meta->initialize; |
20 | 29 |
|
21 | 30 |
|
Auch abrufbar als: Unified diff
Neue Datenbank-Tabelle file_versions