X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FVendor.pm;h=387b2d8575c83fa6c108a8666367170b03d2fe07;hb=fa7b6442428b3af0e9840d9829950e1efe3aff9f;hp=e32563f3bddafb0875eb1adfce1ca5d00492b9ed;hpb=2d193a2e8467c752922bb124c1f9495ee7413b9d;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/Vendor.pm b/SL/DB/MetaSetup/Vendor.pm index e32563f3b..387b2d857 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' }, @@ -58,6 +58,8 @@ __PACKAGE__->meta->setup( primary_key_columns => [ 'id' ], + allow_inline_column_values => 1, + foreign_keys => [ business => { class => 'SL::DB::Business',