Fix the silly mistake responsible for the drama around c9733800
[dbsrgits/DBIx-Class.git] / t / lib / PrefetchBug / LeftRight.pm
1 package
2     PrefetchBug::LeftRight;
3
4 use strict;
5 use warnings;
6
7 use base 'DBIx::Class::Core';
8
9 __PACKAGE__->table('prefetchbug_left_right');
10 __PACKAGE__->add_columns(
11     left_id => { data_type => 'integer' },
12     right_id => { data_type => 'integer' },
13     value => {});
14
15 __PACKAGE__->set_primary_key('left_id', 'right_id');
16 __PACKAGE__->belongs_to(left => 'PrefetchBug::Left', 'left_id');
17 __PACKAGE__->belongs_to(
18     right => 'PrefetchBug::Right',
19     'right_id',
20 #    {join_type => 'left'}
21 );
22
23
24 1;