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