package MyApp::Schema::Result::Artist;

use warnings;
use strict;

use base qw/DBIx::Class::Core/;

__PACKAGE__->table('artist');

__PACKAGE__->add_columns(qw/ artistid name /);

__PACKAGE__->set_primary_key('artistid');

__PACKAGE__->has_many('cds' => 'MyApp::Schema::Result::Cd');

1;

