1 package Cafe::Result::Sugar;
5 use parent 'DBIx::Class::Core';
7 __PACKAGE__->table('sugar');
9 __PACKAGE__->add_columns(
11 data_type => 'integer',
12 is_auto_increment => 1,
14 sweetness => { data_type => 'integer', default => '2' }
17 __PACKAGE__->set_primary_key('id');