- columns => [
- id => { type => 'serial', not_null => 1 },
- employee_id => { type => 'integer', not_null => 1 },
- executed => { type => 'boolean', default => 'false' },
- closed => { type => 'boolean', default => 'false' },
- itime => { type => 'timestamp', default => 'now()' },
- ],
+__PACKAGE__->meta->columns(
+ closed => { type => 'boolean', default => 'false' },
+ employee_id => { type => 'integer', not_null => 1 },
+ executed => { type => 'boolean', default => 'false' },
+ id => { type => 'serial', not_null => 1 },
+ itime => { type => 'timestamp', default => 'now()' },
+ vc => { type => 'varchar', length => 10 },
+);