NAME

Interchange6::Schema::Result::Media

TABLE: media

ACCESSORS

media_id

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

file

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

uri

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

mime_type

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

label

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

author

data_type: 'integer'
default_value: 0
is_nullable: 0

created

data_type: 'timestamp'
is_nullable: 0

last_modified

data_type: 'timestamp'
is_nullable: 0

active

data_type: 'boolean'
default_value: true
is_nullable: 0

PRIMARY KEY

RELATIONS

media_displays

Type: has_many

Related object: Interchange6::Schema::Result::MediaDisplay

media_products

Type: has_many

Related object: Interchange6::Schema::Result::MediaProduct