X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FContact.pm;h=8d71fccf37ff8ef0f61bd6799d92f808fbaba8cb;hb=687f2d9638182ead968d333af325c912d903b675;hp=8a749bb3c6b4d075eeb70bb2d736327b66afa663;hpb=3eb3d1b144adb92e62de08e67dc6ff3d39bf7483;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/Contact.pm b/SL/DB/MetaSetup/Contact.pm index 8a749bb3c..8d71fccf3 100644 --- a/SL/DB/MetaSetup/Contact.pm +++ b/SL/DB/MetaSetup/Contact.pm @@ -4,7 +4,7 @@ package SL::DB::Contact; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); __PACKAGE__->meta->table('contacts'); @@ -16,21 +16,21 @@ __PACKAGE__->meta->columns( cp_email => { type => 'text' }, cp_fax => { type => 'text' }, cp_gender => { type => 'character', length => 1 }, - cp_givenname => { type => 'varchar', length => 75 }, + cp_givenname => { type => 'text' }, cp_id => { type => 'integer', not_null => 1, sequence => 'id' }, cp_mobile1 => { type => 'text' }, cp_mobile2 => { type => 'text' }, - cp_name => { type => 'varchar', length => 75 }, - cp_phone1 => { type => 'varchar', length => 75 }, - cp_phone2 => { type => 'varchar', length => 75 }, - cp_position => { type => 'varchar', length => 75 }, + cp_name => { type => 'text' }, + cp_phone1 => { type => 'text' }, + cp_phone2 => { type => 'text' }, + cp_position => { type => 'text' }, cp_privatemail => { type => 'text' }, cp_privatphone => { type => 'text' }, cp_project => { type => 'text' }, cp_satfax => { type => 'text' }, cp_satphone => { type => 'text' }, cp_street => { type => 'text' }, - cp_title => { type => 'varchar', length => 75 }, + cp_title => { type => 'text' }, cp_zipcode => { type => 'text' }, itime => { type => 'timestamp', default => 'now()' }, mtime => { type => 'timestamp' },