Add torture of limiting subselect with non-root table selection renamer
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / SelfRefAlias.pm
CommitLineData
8273e845 1package # hide from PAUSE
65c2b042 2 DBICTest::Schema::SelfRefAlias;
3
4use base qw/DBICTest::BaseResult/;
5
6__PACKAGE__->table('self_ref_alias');
7__PACKAGE__->add_columns(
8 'self_ref' => {
9 data_type => 'integer',
10 },
11 'alias' => {
12 data_type => 'integer',
13 },
14);
15__PACKAGE__->set_primary_key(qw/self_ref alias/);
16
17__PACKAGE__->belongs_to( self_ref => 'DBICTest::Schema::SelfRef' );
18__PACKAGE__->belongs_to( alias => 'DBICTest::Schema::SelfRef' );
19
201;