|
Lines 26-32
__PACKAGE__->table("oai_sets_biblios");
Link Here
|
| 26 |
=head2 biblionumber |
26 |
=head2 biblionumber |
| 27 |
|
27 |
|
| 28 |
data_type: 'integer' |
28 |
data_type: 'integer' |
| 29 |
is_foreign_key: 1 |
|
|
| 30 |
is_nullable: 0 |
29 |
is_nullable: 0 |
| 31 |
|
30 |
|
| 32 |
=head2 set_id |
31 |
=head2 set_id |
|
Lines 39-45
__PACKAGE__->table("oai_sets_biblios");
Link Here
|
| 39 |
|
38 |
|
| 40 |
__PACKAGE__->add_columns( |
39 |
__PACKAGE__->add_columns( |
| 41 |
"biblionumber", |
40 |
"biblionumber", |
| 42 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
41 |
{ data_type => "integer", is_nullable => 0 }, |
| 43 |
"set_id", |
42 |
"set_id", |
| 44 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
43 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
| 45 |
); |
44 |
); |
|
Lines 60-80
__PACKAGE__->set_primary_key("biblionumber", "set_id");
Link Here
|
| 60 |
|
59 |
|
| 61 |
=head1 RELATIONS |
60 |
=head1 RELATIONS |
| 62 |
|
61 |
|
| 63 |
=head2 biblionumber |
|
|
| 64 |
|
| 65 |
Type: belongs_to |
| 66 |
|
| 67 |
Related object: L<Koha::Schema::Result::Biblio> |
| 68 |
|
| 69 |
=cut |
| 70 |
|
| 71 |
__PACKAGE__->belongs_to( |
| 72 |
"biblionumber", |
| 73 |
"Koha::Schema::Result::Biblio", |
| 74 |
{ biblionumber => "biblionumber" }, |
| 75 |
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, |
| 76 |
); |
| 77 |
|
| 78 |
=head2 set |
62 |
=head2 set |
| 79 |
|
63 |
|
| 80 |
Type: belongs_to |
64 |
Type: belongs_to |
|
Lines 91-98
__PACKAGE__->belongs_to(
Link Here
|
| 91 |
); |
75 |
); |
| 92 |
|
76 |
|
| 93 |
|
77 |
|
| 94 |
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 |
78 |
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-07-08 15:06:22 |
| 95 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Zl0mhAt8isigZay80Ie6jA |
79 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:oGVUyyyune8FVOj504xizw |
| 96 |
|
80 |
|
| 97 |
|
81 |
|
| 98 |
# You can replace this text with custom content, and it will be preserved on regeneration |
82 |
# You can replace this text with custom content, and it will be preserved on regeneration |
| 99 |
- |
|
|