Bugzilla – Attachment 58593 Details for
Bug 11879
Add a new field to patron record: main contact method
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11879: Changes to Koha's schemas
Bug-11879-Changes-to-Kohas-schemas.patch (text/plain), 4.21 KB, created by
Charles Farmer
on 2017-01-04 15:02:35 UTC
(
hide
)
Description:
Bug 11879: Changes to Koha's schemas
Filename:
MIME Type:
Creator:
Charles Farmer
Created:
2017-01-04 15:02:35 UTC
Size:
4.21 KB
patch
obsolete
>From 39a039247bcd57d2c5df8e28f345912a181c7ec3 Mon Sep 17 00:00:00 2001 >From: charles <charles.farmer@inlibro.com> >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 1fe3988..f2195a0 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' >@@ -596,6 +602,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", >@@ -1334,8 +1342,8 @@ Composing rels: L</aqorder_users> -> ordernumber > __PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-10-31 10:39:35 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Lc6GQ2E7d+tyzTk3v2sWjQ >+# 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 937a4a4..454566b 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' >@@ -581,6 +587,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", >@@ -604,8 +612,8 @@ __PACKAGE__->add_columns( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-09-13 17:32:29 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pcdyzQacTbFDJ9R1k0E8mA >+# 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11879
:
25745
|
25922
|
25941
|
31300
|
31301
|
31320
|
34351
|
34482
|
34502
|
34503
|
34571
|
34572
|
34573
|
41209
|
41220
|
41221
|
41222
|
46101
|
46284
|
46285
|
46286
|
48073
|
48074
|
48075
|
48076
|
48077
|
48078
|
48079
|
48556
|
48557
|
48558
|
48559
|
50433
|
52607
|
52608
|
52614
|
52615
|
52616
|
52617
|
52618
|
52619
|
52620
|
53229
|
53688
|
53695
|
53705
|
53707
|
53708
|
53709
|
53710
|
53711
|
53712
|
53713
|
55946
|
56285
|
56286
|
58580
|
58591
|
58592
|
58593
|
63238
|
63239
|
65811
|
65812
|
69028
|
69029
|
69050
|
71955
|
71956
|
71957
|
71958
|
72632
|
72633
|
72634
|
72635
|
73987
|
73988
|
73989
|
73990
|
74123
|
74124
|
74125
|
74126
|
74818
|
75652
|
83757
|
83758
|
84017
|
84018
|
84019
|
84020
|
84021
|
84022
|
88358
|
88359
|
88360
|
88361
|
88362
|
88363
|
88394
|
88395
|
88396
|
88397
|
88398
|
88399
|
88400
|
93850
|
93851
|
93852
|
93853
|
93854
|
93855
|
93856
|
93900
|
93901
|
94456
|
94457
|
94458
|
94459
|
94460
|
94461
|
94463
|
94464
|
94465
|
94466
|
94467
|
94468
|
96432
|
100817
|
100843
|
112062
|
112063
|
112064
|
112557
|
112559
|
112560
|
118959
|
118960
|
118961
|
118962
|
118985
|
118986
|
118987
|
118988
|
120947
|
120948
|
120949
|
120950
|
122778