5 package App::LazyShoppingList::Schema::Result::ShoppingListItem;
7 use parent qw( DBIx::Class::Core );
9 __PACKAGE__->table('shopping_list_items');
11 __PACKAGE__->add_columns(
13 data_type => 'integer',
14 is_auto_increment => 1,
17 data_type => 'integer',
23 data_type => 'boolean',
26 data_type => 'integer',
30 __PACKAGE__->set_primary_key('id');
32 __PACKAGE__->belongs_to( shopping_list =>
33 'App::LazyShoppingList::Schema::Result::ShoppingList' =>