- columns => [
- group_id => { type => 'integer', not_null => 1 },
- right => { type => 'text', not_null => 1 },
- granted => { type => 'boolean', not_null => 1 },
- ],
+__PACKAGE__->meta->columns(
+ granted => { type => 'boolean', not_null => 1 },
+ group_id => { type => 'integer', not_null => 1 },
+ right => { type => 'text', not_null => 1 },
+);