1 package # hide from PAUSE
2 DBICTest::Schema::TypedObject;
4 use base qw/DBICTest::BaseResult/;
6 __PACKAGE__->table('typed_object');
7 __PACKAGE__->add_columns(
9 data_type => 'integer',
10 is_auto_increment => 1,
13 data_type => 'varchar',
17 data_type => 'varchar',
21 __PACKAGE__->set_primary_key('objectid');
23 __PACKAGE__->has_many( collection_object => "DBICTest::Schema::CollectionObject",
24 { "foreign.object" => "self.objectid" }
26 __PACKAGE__->many_to_many( collections => collection_object => "collection" );