Add strict/warnings test, adjust all offenders (wow, that was a lot)
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / SelfRefAlias.pm
1 package # hide from PAUSE
2     DBICTest::Schema::SelfRefAlias;
3
4 use warnings;
5 use strict;
6
7 use base qw/DBICTest::BaseResult/;
8
9 __PACKAGE__->table('self_ref_alias');
10 __PACKAGE__->add_columns(
11   'self_ref' => {
12     data_type => 'integer',
13   },
14   'alias' => {
15     data_type => 'integer',
16   },
17 );
18 __PACKAGE__->set_primary_key(qw/self_ref alias/);
19
20 __PACKAGE__->belongs_to( self_ref => 'DBICTest::Schema::SelfRef' );
21 __PACKAGE__->belongs_to( alias => 'DBICTest::Schema::SelfRef' );
22
23 1;