Revision 64b49f6c
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
SL/DB/Helper/Mappings.pm | ||
---|---|---|
68 | 68 |
delivery_orders => 'delivery_order', |
69 | 69 |
delivery_order_items => 'delivery_order_item', |
70 | 70 |
department => 'department', |
71 |
dpt_trans => 'dpt_trans', |
|
72 | 71 |
drafts => 'draft', |
73 | 72 |
dunning => 'dunning', |
74 | 73 |
dunning_config => 'dunning_config', |
... | ... | |
107 | 106 |
tax_zones => 'tax_zone', |
108 | 107 |
todo_user_config => 'todo_user_config', |
109 | 108 |
translation => 'translation', |
110 |
translation_payment_terms => 'translation_payment_term', |
|
111 | 109 |
units => 'unit', |
112 | 110 |
units_language => 'units_language', |
113 | 111 |
vendor => 'vendor', |
SL/DB/MetaSetup/DptTrans.pm | ||
---|---|---|
1 |
# This file has been auto-generated. Do not modify it; it will be overwritten |
|
2 |
# by rose_auto_create_model.pl automatically. |
|
3 |
package SL::DB::DptTrans; |
|
4 |
|
|
5 |
use strict; |
|
6 |
|
|
7 |
use base qw(SL::DB::Object); |
|
8 |
|
|
9 |
__PACKAGE__->meta->setup( |
|
10 |
table => 'dpt_trans', |
|
11 |
|
|
12 |
columns => [ |
|
13 |
trans_id => { type => 'integer' }, |
|
14 |
department_id => { type => 'integer' }, |
|
15 |
itime => { type => 'timestamp', default => 'now()' }, |
|
16 |
mtime => { type => 'timestamp' }, |
|
17 |
id => { type => 'serial', not_null => 1 }, |
|
18 |
], |
|
19 |
|
|
20 |
primary_key_columns => [ 'id' ], |
|
21 |
|
|
22 |
allow_inline_column_values => 1, |
|
23 |
); |
|
24 |
|
|
25 |
1; |
|
26 |
; |
SL/DB/MetaSetup/TranslationPaymentTerm.pm | ||
---|---|---|
1 |
# This file has been auto-generated. Do not modify it; it will be overwritten |
|
2 |
# by rose_auto_create_model.pl automatically. |
|
3 |
package SL::DB::TranslationPaymentTerm; |
|
4 |
|
|
5 |
use strict; |
|
6 |
|
|
7 |
use base qw(SL::DB::Object); |
|
8 |
|
|
9 |
__PACKAGE__->meta->setup( |
|
10 |
table => 'translation_payment_terms', |
|
11 |
|
|
12 |
columns => [ |
|
13 |
payment_terms_id => { type => 'integer', not_null => 1 }, |
|
14 |
language_id => { type => 'integer', not_null => 1 }, |
|
15 |
description_long => { type => 'text' }, |
|
16 |
id => { type => 'serial', not_null => 1 }, |
|
17 |
], |
|
18 |
|
|
19 |
primary_key_columns => [ 'id' ], |
|
20 |
|
|
21 |
foreign_keys => [ |
|
22 |
language => { |
|
23 |
class => 'SL::DB::Language', |
|
24 |
key_columns => { language_id => 'id' }, |
|
25 |
}, |
|
26 |
|
|
27 |
payment_terms => { |
|
28 |
class => 'SL::DB::PaymentTerm', |
|
29 |
key_columns => { payment_terms_id => 'id' }, |
|
30 |
}, |
|
31 |
], |
|
32 |
); |
|
33 |
|
|
34 |
1; |
|
35 |
; |
Auch abrufbar als: Unified diff
Nicht mehr benötigte MetaSetups löschen: DptTrans, TranslationPaymentTerm
Beide korrespondierenden Tabellen wurden in der Zwischenzeit entfernt.