X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FCustomer.pm;h=8735268c086a8d89e201f70deeeac3aa724a6d97;hb=7d3aaeeae917c63a6275d6b886b6b74da2b53121;hp=181f6e658374bfd8b99c0d728881c17588ab4d65;hpb=77527022ef849e10970f285717b9db5d383a1a2e;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/Customer.pm b/SL/DB/MetaSetup/Customer.pm index 181f6e658..8735268c0 100644 --- a/SL/DB/MetaSetup/Customer.pm +++ b/SL/DB/MetaSetup/Customer.pm @@ -37,7 +37,6 @@ __PACKAGE__->meta->setup( bank_code => { type => 'text' }, bank => { type => 'text' }, language => { type => 'varchar', length => 5 }, - datevexport => { type => 'integer' }, itime => { type => 'timestamp', default => 'now()' }, mtime => { type => 'timestamp' }, obsolete => { type => 'boolean', default => 'false' }, @@ -51,14 +50,16 @@ __PACKAGE__->meta->setup( taxzone_id => { type => 'integer', default => '0', not_null => 1 }, greeting => { type => 'text' }, ustid => { type => 'text' }, - direct_debit => { type => 'boolean', default => 'false' }, iban => { type => 'varchar', length => 100 }, bic => { type => 'varchar', length => 100 }, + direct_debit => { type => 'boolean', default => 'false' }, curr => { type => 'character', length => 3 }, ], primary_key_columns => [ 'id' ], + allow_inline_column_values => 1, + foreign_keys => [ business => { class => 'SL::DB::Business',