Release 0.02
[dbsrgits/DBIx-Class-ResultSource-MultipleTableInheritance.git] / t / lib / CafeInsertion / Result / Coffee.pm
CommitLineData
b5c5e046 1package # hide from PAUSE
2 CafeInsertion::Result::Coffee;
c8e085ba 3
4use strict;
5use warnings;
6use parent 'DBIx::Class::Core';
7use aliased 'DBIx::Class::ResultSource::MultipleTableInheritance' => 'MTI';
8
9__PACKAGE__->table_class(MTI);
10__PACKAGE__->table('coffee');
c965b761 11
c8e085ba 12__PACKAGE__->add_columns(
b5c5e046 13 "id",
14 { data_type => "integer",
15 is_auto_increment => 1,
16 sequence => '_coffee_id_seq'
17 },
18 "flavor",
19 { data_type => "text", default_value => "good" },
c8e085ba 20);
21
22__PACKAGE__->set_primary_key("id");
23
241;