Commit | Line | Data |
---|---|---|
70955816 | 1 | package NoSequence::Result::Salad; |
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('salad'); | |
10 | __PACKAGE__->add_columns( | |
11 | "id", { data_type => "integer", is_auto_increment => 1 }, | |
12 | "fresh", { data_type => "boolean", }, | |
13 | ); | |
14 | ||
15 | __PACKAGE__->set_primary_key("id"); | |
16 | ||
17 | 1; |