Refactor tests a little bit.
[dbsrgits/DBIx-Class-ResultSource-MultipleTableInheritance.git] / t / lib / NoSequenceSalad / Result / Dressing.pm
1 package NoSequenceSalad::Result::Dressing;
2
3 use strict;
4 use warnings;
5 use parent 'DBIx::Class::Core';
6
7 __PACKAGE__->table('dressing');
8
9 __PACKAGE__->add_columns(
10     id => {
11         data_type         => 'integer',
12         is_auto_increment => 1,
13     },
14     acidity => { data_type => 'integer', default => '2' }
15 );
16
17 __PACKAGE__->set_primary_key('id');
18
19 1;