Revision 36bbcb55
Von Sven Schöling vor mehr als 11 Jahren hinzugefügt
SL/DB/MetaSetup/GLTransaction.pm | ||
---|---|---|
17 | 17 |
gldate => { type => 'date', default => 'now' }, |
18 | 18 |
employee_id => { type => 'integer' }, |
19 | 19 |
notes => { type => 'text' }, |
20 |
department_id => { type => 'integer', default => '0' },
|
|
20 |
department_id => { type => 'integer' }, |
|
21 | 21 |
taxincluded => { type => 'boolean' }, |
22 | 22 |
itime => { type => 'timestamp', default => 'now()' }, |
23 | 23 |
mtime => { type => 'timestamp' }, |
... | ... | |
33 | 33 |
allow_inline_column_values => 1, |
34 | 34 |
|
35 | 35 |
foreign_keys => [ |
36 |
department => { |
|
37 |
class => 'SL::DB::Department', |
|
38 |
key_columns => { department_id => 'id' }, |
|
39 |
}, |
|
40 |
|
|
36 | 41 |
storno_obj => { |
37 | 42 |
class => 'SL::DB::GLTransaction', |
38 | 43 |
key_columns => { storno_id => 'id' }, |
Auch abrufbar als: Unified diff
MetaSetup update für gl aus add_fk_to_gl.sql