-  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' },
+  partsgroup => { type => 'text' },
+);