NAME

Interchange6::Schema::Result::CartProduct

TABLE: cart_products

ACCESSORS

cart_products_id

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

carts_id

data_type: 'integer'
is_foreign_key: 1
is_nullable: 0

sku

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

cart_position

data_type: 'integer'
is_nullable: 0

quantity

data_type: 'integer'
default_value: 1
is_nullable: 0

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

PRIMARY KEY

RELATIONS

cart

Type: belongs_to

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

product

Type: belongs_to

Related object: Interchange6::Schema::Result::Product