From 63a5915c69bd719ebf3fc625ed8906df773308b7 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/ --- 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 77002f7e76e..4ec54b8954f 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 0ff4dae60c1..fd566f32780 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 9b51ee9f771..007680e0184 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 78d197ec27d..1c7550afba6 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.25.1