1 package Koha::Schema::Result::OaiSetsBiblio;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 use base 'DBIx::Class::Core';
14 Koha::Schema::Result::OaiSetsBiblio
18 __PACKAGE__->table("oai_sets_biblios");
36 __PACKAGE__->add_columns(
38 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
40 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
42 __PACKAGE__->set_primary_key("biblionumber", "set_id");
50 Related object: L<Koha::Schema::Result::Biblio>
54 __PACKAGE__->belongs_to(
56 "Koha::Schema::Result::Biblio",
57 { biblionumber => "biblionumber" },
58 { on_delete => "CASCADE", on_update => "CASCADE" },
65 Related object: L<Koha::Schema::Result::OaiSet>
69 __PACKAGE__->belongs_to(
71 "Koha::Schema::Result::OaiSet",
73 { on_delete => "CASCADE", on_update => "CASCADE" },
77 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
78 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:UkR8n4x6yZOGCMP10KvnRg
81 # You can replace this text with custom content, and it will be preserved on regeneration