Revision 3eb3d1b1
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
SL/DB/MetaSetup/Buchungsgruppe.pm | ||
---|---|---|
9 | 9 |
__PACKAGE__->meta->table('buchungsgruppen'); |
10 | 10 |
|
11 | 11 |
__PACKAGE__->meta->columns( |
12 |
id => { type => 'integer', not_null => 1, sequence => 'id' }, |
|
13 | 12 |
description => { type => 'text' }, |
14 |
inventory_accno_id => { type => 'integer' }, |
|
15 |
income_accno_id_0 => { type => 'integer' }, |
|
16 | 13 |
expense_accno_id_0 => { type => 'integer' }, |
17 |
income_accno_id_1 => { type => 'integer' }, |
|
18 | 14 |
expense_accno_id_1 => { type => 'integer' }, |
19 |
income_accno_id_2 => { type => 'integer' }, |
|
20 | 15 |
expense_accno_id_2 => { type => 'integer' }, |
21 |
income_accno_id_3 => { type => 'integer' }, |
|
22 | 16 |
expense_accno_id_3 => { type => 'integer' }, |
17 |
id => { type => 'integer', not_null => 1, sequence => 'id' }, |
|
18 |
income_accno_id_0 => { type => 'integer' }, |
|
19 |
income_accno_id_1 => { type => 'integer' }, |
|
20 |
income_accno_id_2 => { type => 'integer' }, |
|
21 |
income_accno_id_3 => { type => 'integer' }, |
|
22 |
inventory_accno_id => { type => 'integer' }, |
|
23 | 23 |
sortkey => { type => 'integer', not_null => 1 }, |
24 | 24 |
); |
25 | 25 |
|
26 | 26 |
__PACKAGE__->meta->primary_key_columns([ 'id' ]); |
27 | 27 |
|
28 |
# __PACKAGE__->meta->initialize; |
|
29 |
|
|
30 | 28 |
1; |
31 | 29 |
; |
Auch abrufbar als: Unified diff
MetaSetup: Spalten- und Fremdschlüsselnamen alphabetisch sortieren