Fix the silly mistake responsible for the drama around c9733800
[dbsrgits/DBIx-Class.git] / t / lib / PrefetchBug / Left.pm
1 package PrefetchBug::Left;
2
3 use strict;
4 use warnings;
5
6 use base 'DBIx::Class::Core';
7
8 __PACKAGE__->table('prefetchbug_left');
9 __PACKAGE__->add_columns(
10     id => { data_type => 'integer', is_auto_increment => 1 },
11 );
12
13 __PACKAGE__->set_primary_key('id');
14
15 __PACKAGE__->has_many(
16     prefetch_leftright => 'PrefetchBug::LeftRight',
17     'left_id'
18 );
19
20 1;