85236c5e8cd398e723790270d36664e2d9a2a4a3
[dbsrgits/DBIx-Class-ResultSource-MultipleTableInheritance.git] / t / lib / NoSequenceSalad / Result / Salad.pm
1 package # hide from PAUSE
2         NoSequenceSalad::Result::Salad;
3
4 use strict;
5 use warnings;
6 use parent 'DBIx::Class::Core';
7 use aliased 'DBIx::Class::ResultSource::MultipleTableInheritance' => 'MTI';
8
9 __PACKAGE__->table_class(MTI);
10 __PACKAGE__->table('salad');
11 __PACKAGE__->add_columns(
12     "id", { data_type => "integer", is_auto_increment => 1 },
13     "fresh", { data_type => "boolean", },
14 );
15
16 __PACKAGE__->set_primary_key("id");
17
18 1;