---- file 1 ---- package ORI::Schema::Result::Repo; extends 'DBIx::Class::Core'; __PACKAGE__->table("repo"); __PACKAGE__->add_columns( "id" => { data_type => "integer" }, "system_url" => { data_type => "text" }, "oaibaseurl" => { data_type => "text" }, "lat" => { data_type => "real" }, "long" => { data_type => "real" }, "mandate" => { data_type => "boolean" }, "fulltext" => { data_type => "boolean" }, "openaccess" => { data_type => "boolean" }, ); __PACKAGE__->set_primary_key("id"); __PACKAGE__->has_many( "contentlinks" => "ORI::Schema::Result::Contentlink", { "foreign.repo_id" => "self.id" }, ); __PACKAGE__->many_to_many("contents", "contentlinks", "content");