|
Revision 406, 403 bytes
(checked in by eevee, 2 years ago)
|
|
Database refactoring. Renamed columns and tables to be more consistent and more readable. (#58)
|
| Line | |
|---|
| 1 | package Vee::Schema::GroupPermissions; |
|---|
| 2 | |
|---|
| 3 | use strict; |
|---|
| 4 | use warnings; |
|---|
| 5 | use base 'DBIx::Class'; |
|---|
| 6 | |
|---|
| 7 | =head1 NAME |
|---|
| 8 | |
|---|
| 9 | Vee::Schema::GroupPermissions - DBIC class for the C<group_permissions> table |
|---|
| 10 | |
|---|
| 11 | =cut |
|---|
| 12 | |
|---|
| 13 | __PACKAGE__->load_components('Core'); |
|---|
| 14 | __PACKAGE__->table('group_permissions'); |
|---|
| 15 | __PACKAGE__->add_columns(qw/ group_id permission scope polarity /); |
|---|
| 16 | __PACKAGE__->set_primary_key(qw/ group_id permission scope /); |
|---|
| 17 | |
|---|
| 18 | 1; |
|---|