package # hide from PAUSE
DBICTest::Schema2::Artist;
use base 'DBIx::Class::Core';
__PACKAGE__->table('artist');
__PACKAGE__->add_columns(
'artistid' => {
data_type => 'integer',
is_auto_increment => 1,
},
'name' => {
data_type => 'varchar',
size => 100,
is_nullable => 1,
},
);
__PACKAGE__->set_primary_key('artistid');
__PACKAGE__->has_many(
cds => 'DBICTest::Schema2::CD', undef,
{ order_by => 'year' },
);
1;