Interchange6::Schema::Result::Media
media
data_type: 'integer' is_auto_increment: 1 is_nullable: 0 sequence: 'media_media_id_seq'
data_type: 'varchar' default_value: (empty string) is_nullable: 0 size: 255
data_type: 'integer' is_foreign_key: 1 is_nullable: 1
data_type: 'datetime' set_on_create: 1 is_nullable: 0
data_type: 'datetime' set_on_create: 1 set_on_update: 1 is_nullable: 0
data_type: 'boolean' default_value: true is_nullable: 0
data_type: 'integer' is_foreign_key: 1 is_nullable: 0
"media_id"
media_id_media_types_id_unique
"media_types_id"
media_file_unique
File should be unique
Type: belongs_to
Related object: Interchange6::Schema::Result::User
Related object: Interchange6::Schema::Result::MediaType
Type: has_many
Related object: Interchange6::Schema::Result::MediaProduct
Type: many_to_many with Product.
Type: many_to_many with MediaDisplay
Return the media type looking into MediaDisplay and MediaType.
Return an hashref with the media display type and the final uri.
Return the uri for the display type (or undef if not found).
To install Interchange6::Schema, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Interchange6::Schema
CPAN shell
perl -MCPAN -e shell install Interchange6::Schema
For more information on module installation, please visit the detailed CPAN module installation guide.