Commit | Line | Data |
b5c5e046 |
1 | package # hide from PAUSE |
2 | CafeInsertion::Result::Coffee; |
c8e085ba |
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('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 | |
24 | 1; |