Commit | Line | Data |
---|---|---|
c965b761 | 1 | package # hide from PAUSE |
2 | CafeInsertion::Result::Cream; | |
3 | ||
4 | use strict; | |
5 | use warnings; | |
6 | use parent 'DBIx::Class::Core'; | |
7 | ||
8 | __PACKAGE__->table('cream'); | |
9 | ||
10 | __PACKAGE__->add_columns( | |
11 | id => { | |
12 | data_type => 'integer', | |
13 | is_auto_increment => 1, | |
14 | }, | |
15 | fat_free => { data_type => 'boolean', default => 0 } | |
16 | ); | |
17 | ||
18 | __PACKAGE__->set_primary_key('id'); | |
19 | ||
20 | 1; |