NAME

MyApp::Schema::Result::User

COMPONENTS LOADED

TABLE: user

ACCESSORS

id

data_type: 'integer'
is_auto_increment: 1
is_nullable: 0
sequence: 'user_id_seq'

name

data_type: 'text'
is_nullable: 0

email

data_type: 'text'
is_nullable: 0

active

data_type: 'boolean'
default_value: true
is_nullable: 0

created_at

data_type: 'timestamp'
default_value: current_timestamp
is_nullable: 0
original: {default_value => \"current_timestamp"}

password

data_type: 'text'
is_nullable: 0

type

data_type: 'varchar'
is_nullable: 1
size: 12

PRIMARY KEY

UNIQUE CONSTRAINTS

user_email_key

RELATIONS

user_roles

Type: has_many

Related object: MyApp::Schema::Result::UserRole

user_sessions

Type: has_many

Related object: MyApp::Schema::Result::UserSession