1 package # hide from PAUSE
2 ViewDeps::Result::Artwork;
6 use base 'DBIx::Class::Core';
8 __PACKAGE__->table('artwork');
10 __PACKAGE__->add_columns(
11 id => { data_type => 'integer', is_auto_increment => 1 },
12 cd => { data_type => 'integer' },
13 file => { data_type => 'text' },
16 __PACKAGE__->set_primary_key('id');
18 __PACKAGE__->belongs_to( 'cd', 'ViewDeps::Result::CD',
19 { "foreign.id" => "self.cd" },