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