From 663a8f753af9f17e35b1268480227d7744e7d3a1 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 --- Koha/Schema/Result/Borrower.pm | 12 ++++++++++-- Koha/Schema/Result/BorrowerModification.pm | 12 ++++++++++-- Koha/Schema/Result/Deletedborrower.pm | 12 ++++++++++-- 3 files changed, 30 insertions(+), 6 deletions(-) diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm index 26cdef9..9e0be93 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/Koha/Schema/Result/Borrower.pm @@ -407,6 +407,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' @@ -601,6 +607,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", @@ -1356,8 +1364,8 @@ Composing rels: L -> ordernumber __PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-04-26 16:17:25 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Qq3fmJ73x8Qv+Pqbs7zkow +# Created by DBIx::Class::Schema::Loader v0.07045 @ 2017-01-04 09:40:59 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OoN8mqNGraaWunYJAHMYNg __PACKAGE__->belongs_to( "guarantor", diff --git a/Koha/Schema/Result/BorrowerModification.pm b/Koha/Schema/Result/BorrowerModification.pm index af4895a..178b7da 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: 'text' @@ -571,6 +577,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 => "text", is_nullable => 1 }, ); @@ -590,8 +598,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("verification_token", "borrowernumber"); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-12-12 20:04:12 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IZNhBX5Bj+x4S8JCWG+7lA +# Created by DBIx::Class::Schema::Loader v0.07045 @ 2017-01-04 09:40:58 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IG3EBsv2exSkfm0S8/K5SA # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm index 778705e..5e869f3 100644 --- a/Koha/Schema/Result/Deletedborrower.pm +++ b/Koha/Schema/Result/Deletedborrower.pm @@ -404,6 +404,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' @@ -586,6 +592,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", @@ -611,8 +619,8 @@ __PACKAGE__->add_columns( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-02-10 07:30:06 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:tq4JDUSFKuU5K69TTVSkVg +# Created by DBIx::Class::Schema::Loader v0.07045 @ 2017-01-04 09:40:59 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:D1wXIbiLHDJzL/AT3Hso0A # You can replace this text with custom code or comments, and it will be preserved on regeneration -- 1.9.1