NAME

Mango::Schema::Role - DBIC schema class for Roles

SYNOPSIS

use Mango::Schema;
my $schema = Mango::Schema->connect;
my $roles = $schema->resultset('Roles')->search;

DESCRIPTION

Mango::Schema::Role is loaded by Mango::Schema to read/write role data.

COLUMNS

id

Contains the primary key for each role record.

id => {
    data_type         => 'INT',
    is_auto_increment => 1,
    is_nullable       => 0,
    extras            => {unsigned => 1}
},

name

Contains the role name.

name => {
    data_type   => 'VARCHAR',
    size        => 25,
    is_nullable => 0
},

description

The description of the role.

description => {
    data_type   => 'VARCHAR',
    size        => 100,
    is_nullable => 1
},

created

When the role record was created.

created => {
    data_type   => 'DATETIME',
    is_nullable => 0
},

updated

When the role record was updated.

updated => {
    data_type   => 'DATETIME',
    is_nullable => 0
}

AUTHOR

Christopher H. Laco
CPAN ID: CLACO
claco@chrislaco.com
http://today.icantfocus.com/blog/