- columns => [
- id => { type => 'serial', not_null => 1 },
- login => { type => 'text', not_null => 1 },
- password => { type => 'text' },
- ],
+__PACKAGE__->meta->columns(
+ id => { type => 'serial', not_null => 1 },
+ login => { type => 'text', not_null => 1 },
+ password => { type => 'text' },
+);