- columns => [
- id => { type => 'integer', not_null => 1, sequence => 'id' },
- partsgroup => { type => 'text' },
- itime => { type => 'timestamp', default => 'now()' },
- mtime => { type => 'timestamp' },
- ],
+__PACKAGE__->meta->columns(
+ id => { type => 'integer', not_null => 1, sequence => 'id' },
+ itime => { type => 'timestamp', default => 'now()' },
+ mtime => { type => 'timestamp' },
+ obsolete => { type => 'boolean', default => 'false' },
+ partsgroup => { type => 'text' },
+ sortkey => { type => 'integer', not_null => 1 },
+);