use strict;
-use base qw(SL::DB::Object);
+use parent qw(SL::DB::Object);
__PACKAGE__->meta->table('translation');
__PACKAGE__->meta->columns(
- parts_id => { type => 'integer' },
- language_id => { type => 'integer' },
- translation => { type => 'text' },
+ id => { type => 'serial', not_null => 1 },
itime => { type => 'timestamp', default => 'now()' },
- mtime => { type => 'timestamp' },
+ language_id => { type => 'integer' },
longdescription => { type => 'text' },
- id => { type => 'serial', not_null => 1 },
+ mtime => { type => 'timestamp' },
+ parts_id => { type => 'integer' },
+ translation => { type => 'text' },
);
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
},
);
-# __PACKAGE__->meta->initialize;
-
1;
;