]> Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/blob - t/lib/DBICTest/Schema/SelfRefAlias.pm
test case for might_have and another minor bug fix
[chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate] / t / lib / DBICTest / Schema / SelfRefAlias.pm
1 package # hide from PAUSE
2 DBICTest::Schema::SelfRefAlias;
3
4 use base 'DBIx::Class::Core';
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
20 1;
This page took 0.033211 seconds and 4 git commands to generate.