- columns => [
- parts_id => { type => 'integer' },
- language_id => { type => 'integer' },
- translation => { type => 'text' },
- itime => { type => 'timestamp', default => 'now()' },
- mtime => { type => 'timestamp' },
- longdescription => { type => 'text' },
- id => { type => 'serial', not_null => 1 },
- ],
+__PACKAGE__->meta->columns(
+ id => { type => 'serial', not_null => 1 },
+ itime => { type => 'timestamp', default => 'now()' },
+ language_id => { type => 'integer' },
+ longdescription => { type => 'text' },
+ mtime => { type => 'timestamp' },
+ parts_id => { type => 'integer' },
+ translation => { type => 'text' },
+);
+
+__PACKAGE__->meta->primary_key_columns([ 'id' ]);