From db001f05c6be6a3c499e835b678a2bd8e3a467ae Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Fri, 24 Jun 2022 12:30:29 -0300 Subject: [PATCH] Bug 21978: Schema Update Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/Borrower.pm | 13 +++++++++++-- Koha/Schema/Result/BorrowerModification.pm | 13 +++++++++++-- Koha/Schema/Result/Deletedborrower.pm | 13 +++++++++++-- 3 files changed, 33 insertions(+), 6 deletions(-) diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm index 5d0cac62c4..56559256af 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 middle_name + + data_type: 'longtext' + is_nullable: 1 + +patron/borrower's middle name + =head2 title data_type: 'longtext' @@ -644,6 +651,8 @@ __PACKAGE__->add_columns( { data_type => "longtext", is_nullable => 1 }, "firstname", { data_type => "mediumtext", is_nullable => 1 }, + "middle_name", + { data_type => "longtext", is_nullable => 1 }, "title", { data_type => "longtext", is_nullable => 1 }, "othernames", @@ -1965,8 +1974,8 @@ Composing rels: L -> permission __PACKAGE__->many_to_many("permissions", "user_permissions", "permission"); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-05-06 19:32:13 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lGlRQ4XvRdsrqTye6sDpYg +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-06-24 15:30:00 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8f/ch5BjQ1LL9jrEvegkmA __PACKAGE__->has_many( "extended_attributes", diff --git a/Koha/Schema/Result/BorrowerModification.pm b/Koha/Schema/Result/BorrowerModification.pm index 81c5fed1fe..19e89f33fd 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 middle_name + + data_type: 'longtext' + is_nullable: 1 + +patron/borrower's middle name + =head2 title data_type: 'longtext' @@ -453,6 +460,8 @@ __PACKAGE__->add_columns( { data_type => "longtext", is_nullable => 1 }, "firstname", { data_type => "mediumtext", is_nullable => 1 }, + "middle_name", + { data_type => "longtext", is_nullable => 1 }, "title", { data_type => "longtext", is_nullable => 1 }, "othernames", @@ -622,8 +631,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("verification_token", "borrowernumber"); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-07-12 13:40:00 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6giYT5URks8+6VnAs/rtkg +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-06-24 15:30:00 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:96XB32KyG+3JgVOLbnH32Q sub koha_object_class { 'Koha::Patron::Modification'; diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm index b36d2d3ede..6f8dee23ec 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 middle_name + + data_type: 'longtext' + is_nullable: 1 + +patron/borrower's middle name + =head2 title data_type: 'longtext' @@ -641,6 +648,8 @@ __PACKAGE__->add_columns( { data_type => "longtext", is_nullable => 1 }, "firstname", { data_type => "mediumtext", is_nullable => 1 }, + "middle_name", + { data_type => "longtext", is_nullable => 1 }, "title", { data_type => "longtext", is_nullable => 1 }, "othernames", @@ -820,8 +829,8 @@ __PACKAGE__->add_columns( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-05-06 19:32:13 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/LuHiaHNVRk1bAYDWvT34w +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-06-24 15:30:00 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1a3+JPG3eNWHWIZVM2SNfQ __PACKAGE__->add_columns( '+anonymized' => { is_boolean => 1 }, -- 2.39.5