Stefan Hornburg (Racke) > Interchange6-Schema > Interchange6::Schema::Result::Cart

Download:
Interchange6-Schema-0.051.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

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: 1

sessions_id

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

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

approved

  data_type: 'boolean'
  is_nullable: 1

status

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

PRIMARY KEY ^

UNIQUE CONSTRAINTS ^

carts_name_sessions_id

On ( name, sessions_id )

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

syntax highlighting: