NAME

Interchange6::Schema::Result::User

TABLE: users

ACCESSORS

users_id

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

username

data_type: 'varchar'
is_nullable: 0
size: 255

email

data_type: 'varchar'
default_value: (empty string)
is_nullable: 0
size: 255

password

data_type: 'varchar'
default_value: (empty string)
is_nullable: 0
size: 255
encode_column: 1
encode_class: 'Digest'
encode_args: { algorithm => 'SHA-512', format => 'hex', salt_length => 10 }
encode_check_method: 'check_password'

first_name

data_type: 'varchar'
default_value: (empty string)
is_nullable: 0
size: 255

last_name

data_type: 'varchar'
default_value: (empty string)
is_nullable: 0
size: 255

last_login

data_type: 'datetime'
is_nullable: 1

created

data_type: 'datetime'
set_on_create: 1
is_nullable: 0

last_modified

data_type: 'datetime'
set_on_create: 1
set_on_update: 1
is_nullable: 0

active

data_type: 'boolean'
default_value: true
is_nullable: 0

PRIMARY KEY

RELATIONS

addresses

Type: has_many

Related object: Interchange6::Schema::Result::Address

carts

Type: has_many

Related object: Interchange6::Schema::Result::Cart

orders

Type: has_many

Related object: Interchange6::Schema::Result::Order

user_attributes

Type: has_many

Related object: Interchange6::Schema::Result::UserAttribute

user_roles

Type: has_many

Related object: Interchange6::Schema::Result::UserRole

roles

Type: many_to_many

Composing rels: "user_roles" -> role