Debugging why sqlt deployment order of views is wrong.
[dbsrgits/DBIx-Class-ResultSource-MultipleTableInheritance.git] / t / lib / LoadTest / Result / Bar.pm
1 package # hide from PAUSE
2         LoadTest::Result::Bar;
3
4 use strict;
5 use warnings;
6 use parent 'LoadTest::Result::Foo';
7
8 require LoadTest::Result::Mixin;
9
10 __PACKAGE__->table('bar');
11
12 __PACKAGE__->result_source_instance->add_additional_parent(
13   LoadTest::Result::Mixin->result_source_instance
14 );
15
16 __PACKAGE__->add_columns(
17   b => { data_type => 'integer' }
18 );
19
20 #__PACKAGE__->belongs_to(
21   #'b_thang',
22   #'LoadTest::Result::JustATable',
23   #{ 'foreign.id' => 'self.b' },
24 #);
25
26 #__PACKAGE__->has_many(
27   #'foos',
28   #'LoadTest::Result::Foo',
29   #{ 'foreign.a' => 'self.id' }
30 #);
31
32 1;