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

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

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

Contains the primary key for each profile record.
id => {
data_type => 'INT',
is_auto_increment => 1,
is_nullable => 0,
extras => {unsigned => 1}
},
Contains the user id foreign key.
user_id => {
data_type => 'INT',
is_nullable => 0,
is_foreign_key => 1,
extras => {unsigned => 1}
},
Contains the users first name.
first_name => {
data_type => 'VARCHAR',
size => 25,
is_nullable => 1
},
Contains the users last name.
last_name => {
data_type => 'VARCHAR',
size => 25,
is_nullable => 1
},
When the profile record was created.
created => {
data_type => 'DATETIME',
is_nullable => 0
},
When the profile record was updated.
updated => {
data_type => 'DATETIME',
is_nullable => 0
}

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