Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / SL / DB / MetaSetup / Shipto.pm
index bb3a9bc..57b4971 100644 (file)
@@ -4,7 +4,7 @@ package SL::DB::Shipto;
 
 use strict;
 
-use base qw(SL::DB::Object);
+use parent qw(SL::DB::Object);
 
 __PACKAGE__->meta->table('shipto');
 
@@ -13,18 +13,19 @@ __PACKAGE__->meta->columns(
   module             => { type => 'text' },
   mtime              => { type => 'timestamp' },
   shipto_id          => { type => 'integer', not_null => 1, sequence => 'id' },
-  shiptocity         => { type => 'varchar', length => 75 },
-  shiptocontact      => { type => 'varchar', length => 75 },
-  shiptocountry      => { type => 'varchar', length => 75 },
+  shiptocity         => { type => 'text' },
+  shiptocontact      => { type => 'text' },
+  shiptocountry      => { type => 'text' },
   shiptocp_gender    => { type => 'text' },
-  shiptodepartment_1 => { type => 'varchar', length => 75 },
-  shiptodepartment_2 => { type => 'varchar', length => 75 },
+  shiptodepartment_1 => { type => 'text' },
+  shiptodepartment_2 => { type => 'text' },
   shiptoemail        => { type => 'text' },
-  shiptofax          => { type => 'varchar', length => 30 },
-  shiptoname         => { type => 'varchar', length => 75 },
-  shiptophone        => { type => 'varchar', length => 30 },
-  shiptostreet       => { type => 'varchar', length => 75 },
-  shiptozipcode      => { type => 'varchar', length => 75 },
+  shiptofax          => { type => 'text' },
+  shiptogln          => { type => 'text' },
+  shiptoname         => { type => 'text' },
+  shiptophone        => { type => 'text' },
+  shiptostreet       => { type => 'text' },
+  shiptozipcode      => { type => 'text' },
   trans_id           => { type => 'integer' },
 );