From 737fc7c94f823e5751dbbb2c8963cdedd709eb37 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 30 Oct 2024 11:09:57 +0000 Subject: [PATCH] Bug 28633: DO NOT PUSH - Schema changes --- Koha/Schema/Result/Borrower.pm | 13 +++++++++++-- Koha/Schema/Result/BorrowerModification.pm | 13 +++++++++++-- Koha/Schema/Result/Deletedborrower.pm | 13 +++++++++++-- Koha/Schema/Result/OldReserve.pm | 6 +++--- Koha/Schema/Result/Reserve.pm | 6 +++--- 5 files changed, 39 insertions(+), 12 deletions(-) diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm index bf8ba360308..c55f3ca84f0 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/Koha/Schema/Result/Borrower.pm @@ -53,6 +53,13 @@ patron/borrower's last name (surname) patron/borrower's first name +=head2 preferred_name + + data_type: 'longtext' + is_nullable: 1 + +patron/borrower's preferred name + =head2 middle_name data_type: 'longtext' @@ -666,6 +673,8 @@ __PACKAGE__->add_columns( { data_type => "longtext", is_nullable => 1 }, "firstname", { data_type => "mediumtext", is_nullable => 1 }, + "preferred_name", + { data_type => "longtext", is_nullable => 1 }, "middle_name", { data_type => "longtext", is_nullable => 1 }, "title", @@ -2188,8 +2197,8 @@ Composing rels: L -> permission __PACKAGE__->many_to_many("permissions", "user_permissions", "permission"); -# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-05-02 11:36:36 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jUOMoSonNmA3KwtZKVxqOA +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-10-30 11:03:30 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3bj8Rgt0TTzTDLts9lx//w __PACKAGE__->has_many( "restrictions", diff --git a/Koha/Schema/Result/BorrowerModification.pm b/Koha/Schema/Result/BorrowerModification.pm index 4c7ab99ebb9..3ebe043ee6d 100644 --- a/Koha/Schema/Result/BorrowerModification.pm +++ b/Koha/Schema/Result/BorrowerModification.pm @@ -64,6 +64,13 @@ __PACKAGE__->table("borrower_modifications"); data_type: 'mediumtext' is_nullable: 1 +=head2 preferred_name + + data_type: 'longtext' + is_nullable: 1 + +patron/borrower's preferred name + =head2 middle_name data_type: 'longtext' @@ -471,6 +478,8 @@ __PACKAGE__->add_columns( { data_type => "longtext", is_nullable => 1 }, "firstname", { data_type => "mediumtext", is_nullable => 1 }, + "preferred_name", + { data_type => "longtext", is_nullable => 1 }, "middle_name", { data_type => "longtext", is_nullable => 1 }, "title", @@ -646,8 +655,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("verification_token", "borrowernumber"); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-11-08 13:26:34 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pgmClJsT12pxLZHRYrRY9g +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-10-30 11:03:30 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:n3MrZhM5h42hR/728GEnvg sub koha_object_class { 'Koha::Patron::Modification'; diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm index 866b8b35377..b85046ae5d6 100644 --- a/Koha/Schema/Result/Deletedborrower.pm +++ b/Koha/Schema/Result/Deletedborrower.pm @@ -53,6 +53,13 @@ patron/borrower's last name (surname) patron/borrower's first name +=head2 preferred_name + + data_type: 'longtext' + is_nullable: 1 + +patron/borrower's preferred name + =head2 middle_name data_type: 'longtext' @@ -663,6 +670,8 @@ __PACKAGE__->add_columns( { data_type => "longtext", is_nullable => 1 }, "firstname", { data_type => "mediumtext", is_nullable => 1 }, + "preferred_name", + { data_type => "longtext", is_nullable => 1 }, "middle_name", { data_type => "longtext", is_nullable => 1 }, "title", @@ -848,8 +857,8 @@ __PACKAGE__->add_columns( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-11-01 18:21:38 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WdNGUFdglTb3Heu+VjLWFw +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-10-30 11:03:30 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:n8UzcZLEhIy+rd+T3q1CEA __PACKAGE__->add_columns( '+anonymized' => { is_boolean => 1 }, diff --git a/Koha/Schema/Result/OldReserve.pm b/Koha/Schema/Result/OldReserve.pm index e3f3437c948..9ef025a9969 100644 --- a/Koha/Schema/Result/OldReserve.pm +++ b/Koha/Schema/Result/OldReserve.pm @@ -59,7 +59,7 @@ foreign key from the biblio table defining which bib record this hold is on data_type: 'integer' is_nullable: 1 -links the reserve to the deleted bibliographic record (deletedbiblio.biblionumber) +links the hold to the deleted bibliographic record (deletedbiblio.biblionumber) =head2 item_group_id @@ -437,8 +437,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-10-28 18:50:07 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WVT+As1+G9EJ2laDaGWE4A +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-10-30 11:03:30 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:B+OBYozuJBtsh22U5cOtfQ __PACKAGE__->belongs_to( "item", diff --git a/Koha/Schema/Result/Reserve.pm b/Koha/Schema/Result/Reserve.pm index b941eddceed..b25de2fd6be 100644 --- a/Koha/Schema/Result/Reserve.pm +++ b/Koha/Schema/Result/Reserve.pm @@ -62,7 +62,7 @@ foreign key from the biblio table defining which bib record this hold is on data_type: 'integer' is_nullable: 1 -links the reserve to the deleted bibliographic record (deletedbiblio.biblionumber) +links the hold to the deleted bibliographic record (deletedbiblio.biblionumber) =head2 item_group_id @@ -465,8 +465,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-10-28 18:50:07 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6sYYJBDau/Ol8U95p4psKQ +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-10-30 11:03:30 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CYOt/wKwyJR+VGt4Sw/h6Q __PACKAGE__->belongs_to( "item", -- 2.39.5