From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

package # hide from PAUSE
ViewDepsBad::Result::Artist;
use strict;
__PACKAGE__->table('artist');
__PACKAGE__->add_columns(
id => { data_type => 'integer', is_auto_increment => 1 },
name => { data_type => 'text' },
);
__PACKAGE__->set_primary_key('id');
__PACKAGE__->has_many( 'cds', 'ViewDepsBad::Result::CD',
{ "foreign.artist" => "self.id" },
);
1;