The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
package # hide from PAUSE
    TDCSTest::Schema::Person;

use base 'DBIx::Class::Core';

__PACKAGE__->table('person');

__PACKAGE__->add_columns(
    qw<
        personid
        first_name
    >
);

__PACKAGE__->set_primary_key('personid');

__PACKAGE__->might_have(
    audiophile => 'TDCSTest::Schema::Audiophile',
    { 'foreign.personid' => 'self.personid' },
);

__PACKAGE__->has_many(
    artists => 'TDCSTest::Schema::Artist',
    { 'foreign.personid' => 'self.personid' },
);

1;