From 23d1d60f9ff6bc2222db0ad0f9fd82746c245ea8 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 26 Apr 2022 15:45:30 +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 +++++++++++-- 3 files changed, 33 insertions(+), 6 deletions(-) diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm index 175710d0f5..f105c5d3a3 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 title data_type: 'longtext' @@ -636,6 +643,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 }, "title", { data_type => "longtext", is_nullable => 1 }, "othernames", @@ -1955,8 +1964,8 @@ Composing rels: L -> permission __PACKAGE__->many_to_many("permissions", "user_permissions", "permission"); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-03-24 10:20:07 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:srYT5wjg7Jhy5CpmDjWv/g +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-04-26 15:44:56 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BNYg8AM1LhIgqsgYpBfnrg __PACKAGE__->has_many( "extended_attributes", diff --git a/Koha/Schema/Result/BorrowerModification.pm b/Koha/Schema/Result/BorrowerModification.pm index 81c5fed1fe..489e1f8ffb 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 title data_type: 'longtext' @@ -453,6 +460,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 }, "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-26 15:44:56 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qqoo4OYgU38wEWmKz9hASQ sub koha_object_class { 'Koha::Patron::Modification'; diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm index 85ce2b707f..b44edc4258 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 title data_type: 'longtext' @@ -633,6 +640,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 }, "title", { data_type => "longtext", is_nullable => 1 }, "othernames", @@ -810,8 +819,8 @@ __PACKAGE__->add_columns( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-03-24 10:20:07 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JvVxPJOrg5reWvl+gg9Q2A +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-04-26 15:44:56 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WxFQWawMLr/7PQ67TUpNNg __PACKAGE__->add_columns( '+anonymized' => { is_boolean => 1 }, -- 2.30.2