Revision 64b49f6c
Von Moritz Bunkus vor fast 12 Jahren hinzugefügt
SL/DB/Helper/Mappings.pm | ||
---|---|---|
delivery_orders => 'delivery_order',
|
||
delivery_order_items => 'delivery_order_item',
|
||
department => 'department',
|
||
dpt_trans => 'dpt_trans',
|
||
drafts => 'draft',
|
||
dunning => 'dunning',
|
||
dunning_config => 'dunning_config',
|
||
... | ... | |
tax_zones => 'tax_zone',
|
||
todo_user_config => 'todo_user_config',
|
||
translation => 'translation',
|
||
translation_payment_terms => 'translation_payment_term',
|
||
units => 'unit',
|
||
units_language => 'units_language',
|
||
vendor => 'vendor',
|
SL/DB/MetaSetup/DptTrans.pm | ||
---|---|---|
# This file has been auto-generated. Do not modify it; it will be overwritten
|
||
# by rose_auto_create_model.pl automatically.
|
||
package SL::DB::DptTrans;
|
||
|
||
use strict;
|
||
|
||
use base qw(SL::DB::Object);
|
||
|
||
__PACKAGE__->meta->setup(
|
||
table => 'dpt_trans',
|
||
|
||
columns => [
|
||
trans_id => { type => 'integer' },
|
||
department_id => { type => 'integer' },
|
||
itime => { type => 'timestamp', default => 'now()' },
|
||
mtime => { type => 'timestamp' },
|
||
id => { type => 'serial', not_null => 1 },
|
||
],
|
||
|
||
primary_key_columns => [ 'id' ],
|
||
|
||
allow_inline_column_values => 1,
|
||
);
|
||
|
||
1;
|
||
;
|
SL/DB/MetaSetup/TranslationPaymentTerm.pm | ||
---|---|---|
# This file has been auto-generated. Do not modify it; it will be overwritten
|
||
# by rose_auto_create_model.pl automatically.
|
||
package SL::DB::TranslationPaymentTerm;
|
||
|
||
use strict;
|
||
|
||
use base qw(SL::DB::Object);
|
||
|
||
__PACKAGE__->meta->setup(
|
||
table => 'translation_payment_terms',
|
||
|
||
columns => [
|
||
payment_terms_id => { type => 'integer', not_null => 1 },
|
||
language_id => { type => 'integer', not_null => 1 },
|
||
description_long => { type => 'text' },
|
||
id => { type => 'serial', not_null => 1 },
|
||
],
|
||
|
||
primary_key_columns => [ 'id' ],
|
||
|
||
foreign_keys => [
|
||
language => {
|
||
class => 'SL::DB::Language',
|
||
key_columns => { language_id => 'id' },
|
||
},
|
||
|
||
payment_terms => {
|
||
class => 'SL::DB::PaymentTerm',
|
||
key_columns => { payment_terms_id => 'id' },
|
||
},
|
||
],
|
||
);
|
||
|
||
1;
|
||
;
|
Auch abrufbar als: Unified diff
Nicht mehr benötigte MetaSetups löschen: DptTrans, TranslationPaymentTerm
Beide korrespondierenden Tabellen wurden in der Zwischenzeit entfernt.