---- file 3 ---- package ORI::Schema::Result::Contentlink; extends 'DBIx::Class::Core'; _PACKAGE__->table("contentlinks"); __PACKAGE__->add_columns( "content_id" => { data_type => "integer" }, "repo_id" => { data_type => "integer" }, ); __PACKAGE__->set_primary_key("content_id", "repo_id"); __PACKAGE__->belongs_to( "content" => "ORI::Schema::Result::Contenttype", { id => "content_id" }, ); __PACKAGE__->belongs_to( "repo" => "ORI::Schema::Result::Repo", { id => "repo_id" }, );