1 package # hide from PAUSE
2 DBICTest::Schema::CollectionObject;
7 use base qw/DBICTest::BaseResult/;
9 __PACKAGE__->table('collection_object');
10 __PACKAGE__->add_columns(
12 data_type => 'integer',
15 data_type => 'integer',
18 __PACKAGE__->set_primary_key(qw/collection object/);
20 __PACKAGE__->belongs_to( collection => "DBICTest::Schema::Collection",
21 { "foreign.collectionid" => "self.collection" }
23 __PACKAGE__->belongs_to( object => "DBICTest::Schema::TypedObject",
24 { "foreign.objectid" => "self.object" }