Christopher H. Laco > Mango-0.01000_13 > Mango::Schema::User

Download:
Mango-0.01000_13.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Mango::Schema::User - DBIC schema class for Users

SYNOPSIS ^

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

DESCRIPTION ^

Mango::Schema::User is loaded by Mango::Schema to read/write user 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}
    },

username

Contains the user name.

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

password

The users password.

    password => {
        data_type   => 'VARCHAR',
        size        => 255,
        is_nullable => 0
    },

created

When the user record was created.

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

updated

When the user 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/
syntax highlighting: