Move mssql/sybase guid tests to their own table (do not reuse artist)
[dbsrgits/DBIx-Class-Historic.git] / t / lib / DBICTest / Schema / SelfRefAlias.pm
CommitLineData
65c2b042 1package # hide from PAUSE
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;