Add strict/warnings test, adjust all offenders (wow, that was a lot)
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / SelfRefAlias.pm
CommitLineData
8273e845 1package # hide from PAUSE
65c2b042 2 DBICTest::Schema::SelfRefAlias;
3
4a233f30 4use warnings;
5use strict;
6
65c2b042 7use 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
231;