# $VERSION declaration must stay up here, ahead of any other package
# declarations, as to not confuse various modules attempting to determine
# this ones version, whether that be s.c.o. or Module::Metadata, etc
-$VERSION = '0.08208';
+$VERSION = '0.08209';
$VERSION = eval $VERSION if $VERSION =~ /_/; # numify for warning-free dev releases
1;
-A result class to represent a CD, which belongs to an artist, in
+A result class to represent a CD, which refers to an artist, in
MyApp/Schema/Result/CD.pm:
package MyApp::Schema::Result::CD;
__PACKAGE__->table('cd');
__PACKAGE__->add_columns(qw/ cdid artistid title year /);
__PACKAGE__->set_primary_key('cdid');
- __PACKAGE__->belongs_to(artist => 'MyApp::Schema::Result::Artist', 'artistid');
+ __PACKAGE__->refers_to(artist => 'MyApp::Schema::Result::Artist', 'artistid');
1;