Revision e9562f2e
Von Thomas Heck vor etwa 11 Jahren hinzugefügt
SL/DB/MetaSetup/FollowUp.pm | ||
---|---|---|
24 | 24 |
__PACKAGE__->meta->allow_inline_column_values(1); |
25 | 25 |
|
26 | 26 |
__PACKAGE__->meta->foreign_keys( |
27 |
employee => {
|
|
27 |
created_for => {
|
|
28 | 28 |
class => 'SL::DB::Employee', |
29 |
key_columns => { created_by => 'id' },
|
|
29 |
key_columns => { created_for_user => 'id' },
|
|
30 | 30 |
}, |
31 | 31 |
|
32 |
employee_obj => {
|
|
32 |
employee => { |
|
33 | 33 |
class => 'SL::DB::Employee', |
34 |
key_columns => { created_for_user => 'id' },
|
|
34 |
key_columns => { created_by => 'id' },
|
|
35 | 35 |
}, |
36 | 36 |
|
37 | 37 |
note => { |
scripts/rose_auto_create_model.pl | ||
---|---|---|
53 | 53 |
orderitems => { parts => 'part', trans => 'order', }, |
54 | 54 |
delivery_order_items => { parts => 'part' }, |
55 | 55 |
invoice => { parts => 'part' }, |
56 |
follow_ups => { 'employee_obj' => 'created_for' }, |
|
56 | 57 |
|
57 | 58 |
periodic_invoices_configs => { oe => 'order' }, |
58 | 59 |
); |
Auch abrufbar als: Unified diff
DB::FollowUp: employee_obj in created_for umbenannt