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

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

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

Contains the primary key for each role record.
id => {
data_type => 'INT',
is_auto_increment => 1,
is_nullable => 0,
extras => {unsigned => 1}
},
Contains the role name.
name => {
data_type => 'VARCHAR',
size => 25,
is_nullable => 0
},
The description of the role.
description => {
data_type => 'VARCHAR',
size => 100,
is_nullable => 1
},
When the role record was created.
created => {
data_type => 'DATETIME',
is_nullable => 0
},
When the role record was updated.
updated => {
data_type => 'DATETIME',
is_nullable => 0
}

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