NAME

Interchange6::Schema::Result::Cart

TABLE: carts

ACCESSORS

carts_id

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

name

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

users_id

data_type: 'integer'
is_foreign_key: 1
is_nullable: 0

sessions_id

data_type: 'varchar'
is_foreign_key: 1
is_nullable: 0
size: 255

created

data_type: 'timestamp'
is_nullable: 0

last_modified

data_type: 'timestamp'
is_nullable: 0

approved

data_type: 'boolean'
is_nullable: 1

status

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

PRIMARY KEY

RELATIONS

cart_products

Type: has_many

Related object: Interchange6::Schema::Result::CartProduct

session

Type: belongs_to

Related object: Interchange6::Schema::Result::Session

user

Type: belongs_to

Related object: Interchange6::Schema::Result::User