Revision f85cd3ef
Von Sven Schöling vor mehr als 11 Jahren hinzugefügt
SL/DB/Tax.pm | ||
---|---|---|
4 | 4 |
|
5 | 5 |
use SL::DB::MetaSetup::Tax; |
6 | 6 |
|
7 |
__PACKAGE__->meta->add_relationships(chart => { type => 'many to one', |
|
8 |
class => 'SL::DB::Chart', |
|
9 |
column_map => { chart_id => 'id' }, |
|
10 |
}, |
|
11 |
); |
|
12 |
|
|
13 | 7 |
__PACKAGE__->meta->initialize; |
14 | 8 |
|
15 | 9 |
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all. |
Auch abrufbar als: Unified diff
Unnötige Relationship (ist schon FK)