3576bad6e0c26d976c05745e85eb73eb999c8adc
[dbsrgits/DBIx-Class.git] / t / lib / PrefetchBug / Right.pm
1 package
2     PrefetchBug::Right;
3
4 use strict;
5 use warnings;
6
7 use base 'DBIx::Class::Core';
8
9 __PACKAGE__->table('prefetch_right');
10 __PACKAGE__->add_columns(qw/ id name category description propagates locked/);
11 __PACKAGE__->set_primary_key('id');
12
13 __PACKAGE__->has_many('prefetch_leftright', 'PrefetchBug::LeftRight', 'right_id');
14 1;