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