From 6e551aad2d557612efd047cc59cef499daf26e65 Mon Sep 17 00:00:00 2001 From: charles Date: Wed, 4 Jan 2017 09:59:27 -0500 Subject: [PATCH] Bug 11879: Schema updates Signed-off-by: Lucie Gay Signed-off-by: Katrin Fischer Signed-off-by: Hayley Mapley Signed-off-by: Bin Wen --- 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 07137a679b..73c051f0fe 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/Koha/Schema/Result/Borrower.pm @@ -414,6 +414,12 @@ __PACKAGE__->table("borrowers"); default_value: 0 is_nullable: 0 +=head2 primary_contact_method + + data_type: 'varchar' + is_nullable: 1 + size: 45 + =head2 checkprevcheckout data_type: 'varchar' @@ -629,6 +635,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 3db708d3fc..ede6a63d1a 100644 --- a/Koha/Schema/Result/BorrowerModification.pm +++ b/Koha/Schema/Result/BorrowerModification.pm @@ -410,6 +410,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' @@ -585,6 +591,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 df8877ff72..73b6fc84ae 100644 --- a/Koha/Schema/Result/Deletedborrower.pm +++ b/Koha/Schema/Result/Deletedborrower.pm @@ -411,6 +411,12 @@ __PACKAGE__->table("deletedborrowers"); default_value: 0 is_nullable: 0 +=head2 primary_contact_method + + data_type: 'varchar' + is_nullable: 1 + size: 45 + =head2 checkprevcheckout data_type: 'varchar' @@ -614,6 +620,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.17.1