New, failing SQLT deployment order test.
[dbsrgits/DBIx-Class-ResultSource-MultipleTableInheritance.git] / t / lib / LoadTest / Result / Foo.pm
CommitLineData
b5c5e046 1package # hide from PAUSE
2 LoadTest::Result::Foo;
7abe3af2 3
4use strict;
5use warnings;
b5c5e046 6use parent 'DBIx::Class::Core';
7use aliased 'DBIx::Class::ResultSource::MultipleTableInheritance' => 'MTI';
7abe3af2 8
b5c5e046 9__PACKAGE__->table_class(MTI);
7abe3af2 10__PACKAGE__->table('foo');
11
12__PACKAGE__->add_columns(
b5c5e046 13 id => { data_type => 'integer', is_auto_increment => 1 },
14 a => { data_type => 'integer', is_nullable => 1 }
7abe3af2 15);
16
17__PACKAGE__->set_primary_key('id');
18
b5c5e046 19__PACKAGE__->belongs_to( 'bar', 'LoadTest::Result::Bar',
20 { 'foreign.id' => 'self.a' } );
490d5481 21
7abe3af2 221;