1 package # hide from PAUSE
3 ## Used in 105view_deps.t
7 use parent qw(DBIx::Class::Core);
9 __PACKAGE__->table('bar');
11 __PACKAGE__->add_columns( id => { data_type => 'integer' } );
13 __PACKAGE__->belongs_to(
15 'ViewDeps::Result::JustATable',
16 { 'foreign.id' => 'self.b' },
19 __PACKAGE__->has_many( 'foos', 'ViewDeps::Result::Foo',
20 { 'foreign.a' => 'self.id' } );