View | Details | Raw Unified | Return to bug 24857
Collapse All | Expand All

(-)a/Koha/Schema/Result/Biblio.pm (-2 / +17 lines)
Lines 450-458 __PACKAGE__->has_many( Link Here
450
  { cascade_copy => 0, cascade_delete => 0 },
450
  { cascade_copy => 0, cascade_delete => 0 },
451
);
451
);
452
452
453
=head2 volumes
453
454
454
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-10-12 09:13:32
455
Type: has_many
455
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:R4PNOXHa9cRIx/up7HWz4Q
456
457
Related object: L<Koha::Schema::Result::Volume>
458
459
=cut
460
461
__PACKAGE__->has_many(
462
  "volumes",
463
  "Koha::Schema::Result::Volume",
464
  { "foreign.biblionumber" => "self.biblionumber" },
465
  { cascade_copy => 0, cascade_delete => 0 },
466
);
467
468
469
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-11-05 18:59:42
470
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xiOczTd8lB1rsu3TAG2Sqg
456
471
457
472
458
__PACKAGE__->has_one(
473
__PACKAGE__->has_one(
(-)a/Koha/Schema/Result/Item.pm (-2 / +17 lines)
Lines 761-769 __PACKAGE__->has_many( Link Here
761
  { cascade_copy => 0, cascade_delete => 0 },
761
  { cascade_copy => 0, cascade_delete => 0 },
762
);
762
);
763
763
764
=head2 volume_items
764
765
765
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-10-12 09:13:32
766
Type: has_many
766
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pmAVO6LxCb6wAJvfh+rndw
767
768
Related object: L<Koha::Schema::Result::VolumeItem>
769
770
=cut
771
772
__PACKAGE__->has_many(
773
  "volume_items",
774
  "Koha::Schema::Result::VolumeItem",
775
  { "foreign.itemnumber" => "self.itemnumber" },
776
  { cascade_copy => 0, cascade_delete => 0 },
777
);
778
779
780
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-11-05 18:59:42
781
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Evmi2YPAuV8qW0hTQSnNRg
767
782
768
__PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" );
783
__PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" );
769
784
(-)a/Koha/Schema/Result/Volume.pm (-6 / +12 lines)
Lines 36-41 __PACKAGE__->table("volumes"); Link Here
36
  is_foreign_key: 1
36
  is_foreign_key: 1
37
  is_nullable: 0
37
  is_nullable: 0
38
38
39
=head2 display_order
40
41
  data_type: 'integer'
42
  default_value: 0
43
  is_nullable: 0
44
39
=head2 description
45
=head2 description
40
46
41
  data_type: 'mediumtext'
47
  data_type: 'mediumtext'
Lines 45-52 __PACKAGE__->table("volumes"); Link Here
45
51
46
  data_type: 'timestamp'
52
  data_type: 'timestamp'
47
  datetime_undef_if_invalid: 1
53
  datetime_undef_if_invalid: 1
48
  default_value: '0000-00-00 00:00:00'
54
  is_nullable: 1
49
  is_nullable: 0
50
55
51
=head2 updated_on
56
=head2 updated_on
52
57
Lines 67-80 __PACKAGE__->add_columns( Link Here
67
    is_foreign_key => 1,
72
    is_foreign_key => 1,
68
    is_nullable    => 0,
73
    is_nullable    => 0,
69
  },
74
  },
75
  "display_order",
76
  { data_type => "integer", default_value => 0, is_nullable => 0 },
70
  "description",
77
  "description",
71
  { data_type => "mediumtext", is_nullable => 1 },
78
  { data_type => "mediumtext", is_nullable => 1 },
72
  "created_on",
79
  "created_on",
73
  {
80
  {
74
    data_type => "timestamp",
81
    data_type => "timestamp",
75
    datetime_undef_if_invalid => 1,
82
    datetime_undef_if_invalid => 1,
76
    default_value => "0000-00-00 00:00:00",
83
    is_nullable => 1,
77
    is_nullable => 0,
78
  },
84
  },
79
  "updated_on",
85
  "updated_on",
80
  {
86
  {
Lines 130-137 __PACKAGE__->has_many( Link Here
130
);
136
);
131
137
132
138
133
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-04 15:22:18
139
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-11-05 18:59:43
134
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cXvLM2TgY18pxE2ZJBMouw
140
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YKcsboHxWfAQgUIRZEivAQ
135
141
136
=head2 koha_objects_class
142
=head2 koha_objects_class
137
143
(-)a/Koha/Schema/Result/VolumeItem.pm (-3 / +18 lines)
Lines 76-81 __PACKAGE__->add_columns( Link Here
76
76
77
__PACKAGE__->set_primary_key("id");
77
__PACKAGE__->set_primary_key("id");
78
78
79
=head1 UNIQUE CONSTRAINTS
80
81
=head2 C<volume_id>
82
83
=over 4
84
85
=item * L</volume_id>
86
87
=item * L</itemnumber>
88
89
=back
90
91
=cut
92
93
__PACKAGE__->add_unique_constraint("volume_id", ["volume_id", "itemnumber"]);
94
79
=head1 RELATIONS
95
=head1 RELATIONS
80
96
81
=head2 itemnumber
97
=head2 itemnumber
Lines 109-116 __PACKAGE__->belongs_to( Link Here
109
);
125
);
110
126
111
127
112
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-03 18:25:20
128
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-11-05 18:59:43
113
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:i6YHB4Jq+79kVVYmuurzIQ
129
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MzxVYdlWCeUEOR9GNHSmfA
114
130
115
=head2 koha_object_class
131
=head2 koha_object_class
116
132
117
- 

Return to bug 24857