Add new test for basic sanity
[dbsrgits/DBIx-Class-ResultSource-MultipleTableInheritance.git] / t / lib / CafeInsertion / Result / Sugar.pm
1 package CafeInsertion::Result::Sugar;
2
3 use strict;
4 use warnings;
5 use parent 'DBIx::Class::Core';
6
7 __PACKAGE__->table('sugar');
8
9 __PACKAGE__->add_columns(
10     id => {
11         data_type         => 'integer',
12         is_auto_increment => 1,
13     },
14     sweetness => { data_type => 'integer', default => '2' }
15 );
16
17 __PACKAGE__->set_primary_key('id');
18
19 1;