From c62694232e35816270e40660ee258733d3eb8dc5 Mon Sep 17 00:00:00 2001 From: charles Date: Wed, 4 Jan 2017 09:59:27 -0500 Subject: [PATCH] Bug 11879: Changes to Koha's schemas Signed-off-by: Lucie Gay --- 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 18655cc..f20809a 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/Koha/Schema/Result/Borrower.pm @@ -413,6 +413,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' @@ -622,6 +628,8 @@ __PACKAGE__->add_columns( { data_type => "integer", default_value => 1, 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 013da77..6094d86 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' @@ -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 }, ); diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm index 4d15e35..8058910 100644 --- a/Koha/Schema/Result/Deletedborrower.pm +++ b/Koha/Schema/Result/Deletedborrower.pm @@ -410,6 +410,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' @@ -607,6 +613,8 @@ __PACKAGE__->add_columns( { data_type => "integer", default_value => 1, 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.7.4