Commit | Line | Data |
4eaa25b5 |
1 | package CafeInsertion::Result::Coffee; |
c8e085ba |
2 | |
3 | use strict; |
4 | use warnings; |
5 | use parent 'DBIx::Class::Core'; |
6 | use aliased 'DBIx::Class::ResultSource::MultipleTableInheritance' => 'MTI'; |
7 | |
8 | __PACKAGE__->table_class(MTI); |
9 | __PACKAGE__->table('coffee'); |
10 | __PACKAGE__->add_columns( |
70955816 |
11 | "id", { data_type => "integer", is_auto_increment => 1, sequence => '_coffee_id_seq'}, |
c8e085ba |
12 | "flavor", { data_type => "text", default_value => "good" }, |
13 | ); |
14 | |
15 | __PACKAGE__->set_primary_key("id"); |
16 | |
17 | 1; |