Refactor tests a little bit.
[dbsrgits/DBIx-Class-ResultSource-MultipleTableInheritance.git] / t / lib / NoSequenceSalad / Result / Dressing.pm
CommitLineData
4eaa25b5 1package NoSequenceSalad::Result::Dressing;
70955816 2
3use strict;
4use warnings;
5use 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
191;