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