NAME

Interchange6::Schema::Result::MediaDisplay

ACCESSORS

media_displays_id

Primary key.

media_types_id

FK on "media_types_id" in Interchange6::Schema::Result::MediaType.

type

Display type.

Examples: image_cart, image_detail, image_thumb, video_full.

name

Name. Is nullable.

path

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.

Is nullable.

size

Size. Is nullable.

UNIQUE CONSTRAINTS

media_types_id_type_unique

RELATIONS

media_type

Type: belongs_to

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