Fix the silly mistake responsible for the drama around c9733800
[dbsrgits/DBIx-Class.git] / t / lib / PrefetchBug / LeftRight.pm
CommitLineData
a48693f4 1package
2 PrefetchBug::LeftRight;
3
4use strict;
5use warnings;
6
7use base 'DBIx::Class::Core';
8
d5907140 9__PACKAGE__->table('prefetchbug_left_right');
a48693f4 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
241;