Debugging why sqlt deployment order of views is wrong.
[dbsrgits/DBIx-Class-ResultSource-MultipleTableInheritance.git] / t / lib / CafeInsertion / Result / Sumatra.pm
1 package # hide from PAUSE
2         CafeInsertion::Result::Sumatra;
3
4 use strict;
5 use warnings;
6 use parent 'CafeInsertion::Result::Coffee';
7
8 require CafeInsertion::Result::Sugar;
9
10 __PACKAGE__->table('sumatra');
11 __PACKAGE__->result_source_instance->add_additional_parent(
12     CafeInsertion::Result::Sugar->result_source_instance );
13 __PACKAGE__->add_columns( "aroma", { data_type => "text" } );
14
15 #__PACKAGE__->has_many( 'coffees', 'CafeInsertion::Result::Coffee',
16 #{ 'foreign.id' => 'self.id' } );
17
18 1;