- columns => [
- trans_id => { type => 'integer' },
- shiptoname => { type => 'varchar', length => 75 },
- shiptodepartment_1 => { type => 'varchar', length => 75 },
- shiptodepartment_2 => { type => 'varchar', length => 75 },
- shiptostreet => { type => 'varchar', length => 75 },
- shiptozipcode => { type => 'varchar', length => 75 },
- shiptocity => { type => 'varchar', length => 75 },
- shiptocountry => { type => 'varchar', length => 75 },
- shiptocontact => { type => 'varchar', length => 75 },
- shiptophone => { type => 'varchar', length => 30 },
- shiptofax => { type => 'varchar', length => 30 },
- shiptoemail => { type => 'text' },
- itime => { type => 'timestamp', default => 'now()' },
- mtime => { type => 'timestamp' },
- module => { type => 'text' },
- shipto_id => { type => 'integer', not_null => 1, sequence => 'id' },
- shiptocp_gender => { type => 'text' },
- ],
+__PACKAGE__->meta->columns(
+ itime => { type => 'timestamp', default => 'now()' },
+ module => { type => 'text' },
+ mtime => { type => 'timestamp' },
+ shipto_id => { type => 'integer', not_null => 1, sequence => 'id' },
+ shiptocity => { type => 'text' },
+ shiptocontact => { type => 'text' },
+ shiptocountry => { type => 'text' },
+ shiptocp_gender => { type => 'text' },
+ shiptodepartment_1 => { type => 'text' },
+ shiptodepartment_2 => { type => 'text' },
+ shiptoemail => { type => 'text' },
+ shiptofax => { type => 'text' },
+ shiptogln => { type => 'text' },
+ shiptoname => { type => 'text' },
+ shiptophone => { type => 'text' },
+ shiptostreet => { type => 'text' },
+ shiptozipcode => { type => 'text' },
+ trans_id => { type => 'integer' },
+);