NAME

Mango::Schema::Profile - DBIC schema class for Profiles

SYNOPSIS

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

DESCRIPTION

Mango::Schema::Profile is loaded by Mango::Schema to read/write user profile data.

COLUMNS

id

Contains the primary key for each profile record.

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

user_id

Contains the user id foreign key.

user_id => {
    data_type      => 'INT',
    is_nullable    => 0,
    is_foreign_key => 1,
    extras         => {unsigned => 1}
},

first_name

Contains the users first name.

first_name => {
    data_type   => 'VARCHAR',
    size        => 25,
    is_nullable => 1
},

last_name

Contains the users last name.

last_name => {
    data_type   => 'VARCHAR',
    size        => 25,
    is_nullable => 1
},

created

When the profile record was created.

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

updated

When the profile 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/