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_users_id
data_type: 'integer'
is_foreign_key: 0
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
active
data_type: 'boolean'
default_value: true
is_nullable: 0
PRIMARY KEY
RELATIONS
Author
Type: belongs_to
Related object: Interchange6::Schema::Result::User
MediaDisplay
Type: has_many
Related object: Interchange6::Schema::Result::MediaDisplay
MediaProduct
Type: has_many
Related object: Interchange6::Schema::Result::MediaProduct