New, failing SQLT deployment order test.
[dbsrgits/DBIx-Class-ResultSource-MultipleTableInheritance.git] / t / lib / CafeInsertion / Result / Chair.pm
CommitLineData
b5c5e046 1package # hide from PAUSE
2 CafeInsertion::Result::Chair;
3
4use base qw(DBIx::Class::Core);
5
6__PACKAGE__->table('chair');
7
8__PACKAGE__->add_columns(
9 id => { data_type => 'integer', is_auto_increment => 1 },
10 name => { data_type => 'varchar', size => 255 }
11);
12
13__PACKAGE__->set_primary_key('id');
14
15__PACKAGE__->has_many(
16 'coffees',
17 'CafeInsertion::Result::Coffee',
18 { 'foreign.id' => 'self.id' }
19);
20
21
221;