From 89d1149b216143c6b4711080a05f110b35ca5326 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 3 Oct 2022 15:04:06 -0300 Subject: [PATCH] Bug 10950: DBIC schema Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/Borrower.pm | 13 +++++++++++-- Koha/Schema/Result/BorrowerModification.pm | 11 +++++++++-- Koha/Schema/Result/Deletedborrower.pm | 13 +++++++++++-- 3 files changed, 31 insertions(+), 6 deletions(-) diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm index 81e45238a9..2edb25d29f 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/Koha/Schema/Result/Borrower.pm @@ -81,6 +81,13 @@ any other names associated with the patron/borrower initials for your patron/borrower +=head2 pronouns + + data_type: 'longtext' + is_nullable: 1 + +patron/borrower pronouns + =head2 streetnumber data_type: 'tinytext' @@ -659,6 +666,8 @@ __PACKAGE__->add_columns( { data_type => "longtext", is_nullable => 1 }, "initials", { data_type => "mediumtext", is_nullable => 1 }, + "pronouns", + { data_type => "longtext", is_nullable => 1 }, "streetnumber", { data_type => "tinytext", is_nullable => 1 }, "streettype", @@ -2019,8 +2028,8 @@ Composing rels: L -> permission __PACKAGE__->many_to_many("permissions", "user_permissions", "permission"); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-07-07 12:48:35 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:iffysIl9TxAnXVzpWiUJuw +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-10-03 18:03:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jqvQns/EYDe6ao4z32XKyg __PACKAGE__->has_many( "extended_attributes", diff --git a/Koha/Schema/Result/BorrowerModification.pm b/Koha/Schema/Result/BorrowerModification.pm index 19e89f33fd..ab974bb3d3 100644 --- a/Koha/Schema/Result/BorrowerModification.pm +++ b/Koha/Schema/Result/BorrowerModification.pm @@ -86,6 +86,11 @@ patron/borrower's middle name data_type: 'mediumtext' is_nullable: 1 +=head2 pronouns + + data_type: 'longtext' + is_nullable: 1 + =head2 streetnumber data_type: 'varchar' @@ -468,6 +473,8 @@ __PACKAGE__->add_columns( { data_type => "longtext", is_nullable => 1 }, "initials", { data_type => "mediumtext", is_nullable => 1 }, + "pronouns", + { data_type => "longtext", is_nullable => 1 }, "streetnumber", { data_type => "varchar", is_nullable => 1, size => 10 }, "streettype", @@ -631,8 +638,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("verification_token", "borrowernumber"); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-06-24 15:30:00 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:96XB32KyG+3JgVOLbnH32Q +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-10-03 18:03:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:NsjvIPMgGDCa0LZQc157Ww sub koha_object_class { 'Koha::Patron::Modification'; diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm index 6f8dee23ec..db80faec1d 100644 --- a/Koha/Schema/Result/Deletedborrower.pm +++ b/Koha/Schema/Result/Deletedborrower.pm @@ -81,6 +81,13 @@ any other names associated with the patron/borrower initials for your patron/borrower +=head2 pronouns + + data_type: 'longtext' + is_nullable: 1 + +patron/borrower pronouns + =head2 streetnumber data_type: 'tinytext' @@ -656,6 +663,8 @@ __PACKAGE__->add_columns( { data_type => "longtext", is_nullable => 1 }, "initials", { data_type => "mediumtext", is_nullable => 1 }, + "pronouns", + { data_type => "longtext", is_nullable => 1 }, "streetnumber", { data_type => "tinytext", is_nullable => 1 }, "streettype", @@ -829,8 +838,8 @@ __PACKAGE__->add_columns( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-06-24 15:30:00 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1a3+JPG3eNWHWIZVM2SNfQ +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-10-03 18:03:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OKIbF7K2KWpEJGbFbetD0w __PACKAGE__->add_columns( '+anonymized' => { is_boolean => 1 }, -- 2.39.2