From 16f9b207065342b7a3aaf2a20631760722cb94a3 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 19 Apr 2022 16:23:02 +0100 Subject: [PATCH] Bug 21978: Schema Update Signed-off-by: Sally Signed-off-by: Jonathan Druart --- Koha/Schema/Result/Borrower.pm | 9 +++++++++ Koha/Schema/Result/BorrowerModification.pm | 13 +++++++++++-- Koha/Schema/Result/Deletedborrower.pm | 9 +++++++++ 3 files changed, 29 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm index 5d0cac62c4..326d7be694 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", diff --git a/Koha/Schema/Result/BorrowerModification.pm b/Koha/Schema/Result/BorrowerModification.pm index 81c5fed1fe..a9ea269162 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-04-19 15:22:49 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:mVS2req3gYPjCyZO+xlHWg sub koha_object_class { 'Koha::Patron::Modification'; diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm index b36d2d3ede..f2203cf48a 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", -- 2.20.1