X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FSchema%2FCollectionObject.pm;h=446909c22bfedadb03133333f093df11d8493a4e;hb=987210ca0ba7dfa28edec967ffb98b872c15231d;hp=df43c9c1cbe0351ee6b879080281518217078e5e;hpb=660cf1be74795a5a5784f413741816413a724c1a;p=dbsrgits%2FDBIx-Class.git diff --git a/t/lib/DBICTest/Schema/CollectionObject.pm b/t/lib/DBICTest/Schema/CollectionObject.pm index df43c9c..446909c 100644 --- a/t/lib/DBICTest/Schema/CollectionObject.pm +++ b/t/lib/DBICTest/Schema/CollectionObject.pm @@ -1,24 +1,24 @@ -package # hide from PAUSE - DBICTest::Schema::CollectionObject; - -use base qw/DBICTest::BaseResult/; - -__PACKAGE__->table('collection_object'); -__PACKAGE__->add_columns( - 'collection' => { - data_type => 'integer', - }, - 'object' => { - data_type => 'integer', - }, -); -__PACKAGE__->set_primary_key(qw/collection object/); - -__PACKAGE__->belongs_to( collection => "DBICTest::Schema::Collection", - { "foreign.collectionid" => "self.collection" } - ); -__PACKAGE__->belongs_to( object => "DBICTest::Schema::TypedObject", - { "foreign.objectid" => "self.object" } - ); - -1; +package # hide from PAUSE + DBICTest::Schema::CollectionObject; + +use base qw/DBICTest::BaseResult/; + +__PACKAGE__->table('collection_object'); +__PACKAGE__->add_columns( + 'collection' => { + data_type => 'integer', + }, + 'object' => { + data_type => 'integer', + }, +); +__PACKAGE__->set_primary_key(qw/collection object/); + +__PACKAGE__->belongs_to( collection => "DBICTest::Schema::Collection", + { "foreign.collectionid" => "self.collection" } + ); +__PACKAGE__->belongs_to( object => "DBICTest::Schema::TypedObject", + { "foreign.objectid" => "self.object" } + ); + +1;