Bug 26993: DBIC changes
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
629838dea2
commit
34bb9ad633
|
|
@ -825,16 +825,16 @@ __PACKAGE__->might_have(
|
|||
{ cascade_copy => 0, cascade_delete => 0 },
|
||||
);
|
||||
|
||||
=head2 items_last_borrower
|
||||
=head2 items_last_borrowers
|
||||
|
||||
Type: might_have
|
||||
Type: has_many
|
||||
|
||||
Related object: L<Koha::Schema::Result::ItemsLastBorrower>
|
||||
|
||||
=cut
|
||||
|
||||
__PACKAGE__->has_many(
|
||||
"items_last_borrower",
|
||||
"items_last_borrowers",
|
||||
"Koha::Schema::Result::ItemsLastBorrower",
|
||||
{ "foreign.itemnumber" => "self.itemnumber" },
|
||||
{ cascade_copy => 0, cascade_delete => 0 },
|
||||
|
|
@ -991,8 +991,8 @@ __PACKAGE__->might_have(
|
|||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-04-28 16:41:47
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hGbnnGBWKaKzsVipsyN7ww
|
||||
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2026-01-22 21:05:23
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:d/Q+Ym3pNstyDcgjVhLykQ
|
||||
|
||||
__PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" );
|
||||
|
||||
|
|
|
|||
|
|
@ -78,20 +78,6 @@ __PACKAGE__->add_columns(
|
|||
|
||||
__PACKAGE__->set_primary_key("id");
|
||||
|
||||
=head1 UNIQUE CONSTRAINTS
|
||||
|
||||
=head2 C<itemnumber>
|
||||
|
||||
=over 4
|
||||
|
||||
=item * L</itemnumber>
|
||||
|
||||
=back
|
||||
|
||||
=cut
|
||||
|
||||
__PACKAGE__->add_unique_constraint("itemnumber", ["itemnumber"]);
|
||||
|
||||
=head1 RELATIONS
|
||||
|
||||
=head2 borrowernumber
|
||||
|
|
@ -125,8 +111,8 @@ __PACKAGE__->belongs_to(
|
|||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07040 @ 2015-10-02 12:33:33
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ByHKNZCEz4a1AqTnOJgUWA
|
||||
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2026-01-22 21:05:23
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KJ4G3ViVgIcXtUqmS18ang
|
||||
|
||||
|
||||
# You can replace this text with custom code or comments, and it will be preserved on regeneration
|
||||
|
|
|
|||
Loading…
Reference in New Issue