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