Revision 70ff48b4
Von Sven Schöling vor etwa 13 Jahren hinzugefügt
SL/DB/Part.pm | ||
---|---|---|
51 | 51 |
class => 'SL::DB::Translation', |
52 | 52 |
column_map => { id => 'parts_id' }, |
53 | 53 |
}, |
54 |
custom_variables => { |
|
55 |
type => 'one to many', |
|
56 |
class => 'SL::DB::CustomVariable', |
|
57 |
column_map => { id => 'trans_id' }, |
|
58 |
query_args => [ config_id => [ \"(SELECT custom_variable_configs.id FROM custom_variable_configs WHERE custom_variable_configs.module = 'IC')" ] ], |
|
59 |
}, |
|
60 | 54 |
); |
61 | 55 |
|
62 | 56 |
__PACKAGE__->meta->initialize; |
Auch abrufbar als: Unified diff
custom_variables accessor wird jetzt vom mixin erstellt.