X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FVendor.pm;h=cc9366339214dd9e04219115c4bbd98955c136f2;hb=dd6282f6e20d531511ae35cadc491a8c7ab8bad5;hp=e32563f3bddafb0875eb1adfce1ca5d00492b9ed;hpb=07b18ac3efd8a5a256383db18d357135fa7c5f6f;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/Vendor.pm b/SL/DB/MetaSetup/Vendor.pm index e32563f3b..cc9366339 100644 --- a/SL/DB/MetaSetup/Vendor.pm +++ b/SL/DB/MetaSetup/Vendor.pm @@ -19,7 +19,7 @@ __PACKAGE__->meta->setup( city => { type => 'varchar', length => 75 }, country => { type => 'varchar', length => 75 }, contact => { type => 'varchar', length => 75 }, - phone => { type => 'varchar', length => 30 }, + phone => { type => 'text' }, fax => { type => 'varchar', length => 30 }, homepage => { type => 'text' }, email => { type => 'text' }, @@ -53,11 +53,13 @@ __PACKAGE__->meta->setup( iban => { type => 'varchar', length => 100 }, bic => { type => 'varchar', length => 100 }, direct_debit => { type => 'boolean', default => 'false' }, - curr => { type => 'character', length => 3 }, + curr => { type => 'text' }, ], primary_key_columns => [ 'id' ], + allow_inline_column_values => 1, + foreign_keys => [ business => { class => 'SL::DB::Business',