
Mango::Schema::UserRole - DBIC schema class for users role membership

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

Mango::Schema::UsersRole is loaded by Mango::Schema to read/write user/role membership data.

Contains the user id for each role record.
user_id => {
data_type => 'INT',
is_nullable => 0,
is_foreign_key => 1,
extras => {unsigned => 1}
},
Contains the role id for each role record.
role_id => {
data_type => 'INT',
is_nullable => 0,
is_foreign_key => 1,
extras => {unsigned => 1}
}

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