Commit | Line | Data |
---|---|---|
a48693f4 | 1 | package |
2 | PrefetchBug::Right; | |
3 | ||
4 | use strict; | |
5 | use warnings; | |
6 | ||
7 | use base 'DBIx::Class::Core'; | |
8 | ||
d5907140 | 9 | __PACKAGE__->table('prefetchbug_right'); |
a48693f4 | 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; |