X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FVendor.pm;h=cb36289d9acb41106a4b024c253111172f9055f2;hb=d0c938cfb5fbb8c1c03b94d395d6c7839a1c597e;hp=cc9366339214dd9e04219115c4bbd98955c136f2;hpb=4a6f0b74c08f02cd04adfe2429eb9965e770c2ba;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/Vendor.pm b/SL/DB/MetaSetup/Vendor.pm index cc9366339..cb36289d9 100644 --- a/SL/DB/MetaSetup/Vendor.pm +++ b/SL/DB/MetaSetup/Vendor.pm @@ -29,7 +29,6 @@ __PACKAGE__->meta->setup( vendornumber => { type => 'text' }, cc => { type => 'text' }, bcc => { type => 'text' }, - gifi_accno => { type => 'text' }, business_id => { type => 'integer' }, taxnumber => { type => 'text' }, discount => { type => 'float', precision => 4 }, @@ -53,13 +52,11 @@ __PACKAGE__->meta->setup( iban => { type => 'varchar', length => 100 }, bic => { type => 'varchar', length => 100 }, direct_debit => { type => 'boolean', default => 'false' }, - curr => { type => 'text' }, + currency_id => { type => 'integer', not_null => 1 }, ], primary_key_columns => [ 'id' ], - allow_inline_column_values => 1, - foreign_keys => [ business => { class => 'SL::DB::Business',