From 7b6aea44110c37dd48bb715bf3fd280164ba07c0 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 2 Feb 2023 14:36:56 +0100 Subject: [PATCH] Bug 30708: DBIC specific Sponsored-by: BULAC - http://www.bulac.fr/ Signed-off-by: BULAC - http://www.bulac.fr/ Signed-off-by: Heather Hernandez Signed-off-by: Laurence Rault Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/PreservationProcessing.pm | 7 ++++++- Koha/Schema/Result/PreservationProcessingAttributesItem.pm | 7 ++++++- Koha/Schema/Result/PreservationTrain.pm | 7 ++++++- Koha/Schema/Result/PreservationTrainsItem.pm | 7 ++++++- 4 files changed, 24 insertions(+), 4 deletions(-) diff --git a/Koha/Schema/Result/PreservationProcessing.pm b/Koha/Schema/Result/PreservationProcessing.pm index 77002f7e76..4ec54b8954 100644 --- a/Koha/Schema/Result/PreservationProcessing.pm +++ b/Koha/Schema/Result/PreservationProcessing.pm @@ -111,6 +111,11 @@ __PACKAGE__->has_many( # Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-04-17 18:47:47 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:m7bHppTX3UpQY9CfmRPqQA +sub koha_object_class { + 'Koha::Preservation::Processing'; +} +sub koha_objects_class { + 'Koha::Preservation::Processings'; +} -# You can replace this text with custom code or comments, and it will be preserved on regeneration 1; diff --git a/Koha/Schema/Result/PreservationProcessingAttributesItem.pm b/Koha/Schema/Result/PreservationProcessingAttributesItem.pm index 0ff4dae60c..fd566f3278 100644 --- a/Koha/Schema/Result/PreservationProcessingAttributesItem.pm +++ b/Koha/Schema/Result/PreservationProcessingAttributesItem.pm @@ -108,6 +108,11 @@ __PACKAGE__->belongs_to( # Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-04-17 18:47:47 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CiFAelBwfhQzRX1cL0ssqA +sub koha_object_class { + 'Koha::Preservation::Train::Item::Attribute'; +} +sub koha_objects_class { + 'Koha::Preservation::Train::Item::Attributes'; +} -# You can replace this text with custom code or comments, and it will be preserved on regeneration 1; diff --git a/Koha/Schema/Result/PreservationTrain.pm b/Koha/Schema/Result/PreservationTrain.pm index 9b51ee9f77..007680e018 100644 --- a/Koha/Schema/Result/PreservationTrain.pm +++ b/Koha/Schema/Result/PreservationTrain.pm @@ -190,6 +190,11 @@ __PACKAGE__->has_many( # Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-04-17 18:47:47 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ojxQ0wFj2datCPVjeuTBWw +sub koha_object_class { + 'Koha::Preservation::Train'; +} +sub koha_objects_class { + 'Koha::Preservation::Trains'; +} -# You can replace this text with custom code or comments, and it will be preserved on regeneration 1; diff --git a/Koha/Schema/Result/PreservationTrainsItem.pm b/Koha/Schema/Result/PreservationTrainsItem.pm index 78d197ec27..1c7550afba 100644 --- a/Koha/Schema/Result/PreservationTrainsItem.pm +++ b/Koha/Schema/Result/PreservationTrainsItem.pm @@ -190,6 +190,11 @@ __PACKAGE__->belongs_to( # Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-04-17 18:47:47 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lpvjaV+qXrIDVlimBaycgA +sub koha_object_class { + 'Koha::Preservation::Train::Item'; +} +sub koha_objects_class { + 'Koha::Preservation::Train::Items'; +} -# You can replace this text with custom code or comments, and it will be preserved on regeneration 1; -- 2.39.5