From b391184480b009954150f8b4ef8f2f07fa23af1d Mon Sep 17 00:00:00 2001 From: Maryse Simard Date: Mon, 19 Oct 2020 13:33:19 -0400 Subject: [PATCH] Bug 11879: Schema update for Borrower tables Signed-off-by: David Nind Signed-off-by: David Nind Signed-off-by: Kyle M Hall --- Koha/Schema/Result/Borrower.pm | 8 ++++++++ Koha/Schema/Result/BorrowerModification.pm | 8 ++++++++ Koha/Schema/Result/Deletedborrower.pm | 8 ++++++++ 3 files changed, 24 insertions(+) diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm index 0c342305f1..3eea45a54e 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/Koha/Schema/Result/Borrower.pm @@ -527,6 +527,12 @@ controls if relatives can see this patron's fines controls if relatives can see this patron's checkouts +=head2 primary_contact_method + + data_type: 'varchar' + is_nullable: 1 + size: 45 + =head2 checkprevcheckout data_type: 'varchar' @@ -742,6 +748,8 @@ __PACKAGE__->add_columns( { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "privacy_guarantor_checkouts", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "primary_contact_method", + { data_type => "varchar", is_nullable => 1, size => 45 }, "checkprevcheckout", { data_type => "varchar", diff --git a/Koha/Schema/Result/BorrowerModification.pm b/Koha/Schema/Result/BorrowerModification.pm index bab6c8fbdf..7fa9fc891c 100644 --- a/Koha/Schema/Result/BorrowerModification.pm +++ b/Koha/Schema/Result/BorrowerModification.pm @@ -404,6 +404,12 @@ __PACKAGE__->table("borrower_modifications"); data_type: 'integer' is_nullable: 1 +=head2 primary_contact_method + + data_type: 'varchar' + is_nullable: 1 + size: 45 + =head2 extended_attributes data_type: 'mediumtext' @@ -579,6 +585,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 1, size => 50 }, "privacy", { data_type => "integer", is_nullable => 1 }, + "primary_contact_method", + { data_type => "varchar", is_nullable => 1, size => 45 }, "extended_attributes", { data_type => "mediumtext", is_nullable => 1 }, "gdpr_proc_consent", diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm index 2324d81f00..62e3bf48a6 100644 --- a/Koha/Schema/Result/Deletedborrower.pm +++ b/Koha/Schema/Result/Deletedborrower.pm @@ -524,6 +524,12 @@ controls if relatives can see this patron's fines controls if relatives can see this patron's checkouts +=head2 primary_contact_method + + data_type: 'varchar' + is_nullable: 1 + size: 45 + =head2 checkprevcheckout data_type: 'varchar' @@ -727,6 +733,8 @@ __PACKAGE__->add_columns( { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "privacy_guarantor_checkouts", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "primary_contact_method", + { data_type => "varchar", is_nullable => 1, size => 45 }, "checkprevcheckout", { data_type => "varchar", -- 2.24.3 (Apple Git-128)