Revision 3eb3d1b1
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
SL/DB/MetaSetup/TaxKey.pm | ||
---|---|---|
9 | 9 |
__PACKAGE__->meta->table('taxkeys'); |
10 | 10 |
|
11 | 11 |
__PACKAGE__->meta->columns( |
12 |
id => { type => 'integer', not_null => 1, sequence => 'id' }, |
|
13 | 12 |
chart_id => { type => 'integer', not_null => 1 }, |
14 |
tax_id => { type => 'integer', not_null => 1 }, |
|
15 |
taxkey_id => { type => 'integer', not_null => 1 }, |
|
13 |
id => { type => 'integer', not_null => 1, sequence => 'id' }, |
|
16 | 14 |
pos_ustva => { type => 'integer' }, |
17 | 15 |
startdate => { type => 'date', not_null => 1 }, |
16 |
tax_id => { type => 'integer', not_null => 1 }, |
|
17 |
taxkey_id => { type => 'integer', not_null => 1 }, |
|
18 | 18 |
); |
19 | 19 |
|
20 | 20 |
__PACKAGE__->meta->primary_key_columns([ 'id' ]); |
... | ... | |
33 | 33 |
}, |
34 | 34 |
); |
35 | 35 |
|
36 |
# __PACKAGE__->meta->initialize; |
|
37 |
|
|
38 | 36 |
1; |
39 | 37 |
; |
Auch abrufbar als: Unified diff
MetaSetup: Spalten- und Fremdschlüsselnamen alphabetisch sortieren