NAME

Interchange6::Schema::Result::MediaDisplay

TABLE: media_displays

ACCESSORS

media_displays_id

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

media_types_id

data_type: 'integer'
is_foreign_key: 1
is_nullable: 0

type

data_type: 'varchar'
is_nullable: 0
size: 255

Examples: image_cart, image_detail, image_thumb, video_full.

name

data_type: 'varchar'
is_nullable: 1
size: 255

path

data_type: 'varchar'
is_nullable: 1
size: 255

Each display should have his own path, and it's listed here: E.g. /images/thumbs/ or /video/full/

It's used by the Product class to create the uri for each display.

size

data_type: 'varchar'
is_nullable: 1
size: 255

PRIMARY KEY

UNIQUE CONSTRAINTS

media_types_id_type_unique

RELATIONS

media_type

Type: belongs_to

Related object: Interchange6::Schema::Result::MediaType