Bugzilla – Attachment 134748 Details for
Bug 21978
Add middle name field
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21978: Schema Update
Bug-21978-Schema-Update.patch (text/plain), 3.20 KB, created by
Biblibre Sandboxes
on 2022-05-06 15:51:00 UTC
(
hide
)
Description:
Bug 21978: Schema Update
Filename:
MIME Type:
Creator:
Biblibre Sandboxes
Created:
2022-05-06 15:51:00 UTC
Size:
3.20 KB
patch
obsolete
>From d449ee6eb098cd255c21d8f7034cdc0377e11f5c Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 19 Apr 2022 16:23:02 +0100 >Subject: [PATCH] Bug 21978: Schema Update > >Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> >--- > Koha/Schema/Result/Borrower.pm | 9 +++++++++ > Koha/Schema/Result/BorrowerModification.pm | 13 +++++++++++-- > Koha/Schema/Result/Deletedborrower.pm | 9 +++++++++ > 3 files changed, 29 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm >index 39ef4fe02d..233e562ccc 100644 >--- a/Koha/Schema/Result/Borrower.pm >+++ b/Koha/Schema/Result/Borrower.pm >@@ -53,6 +53,13 @@ patron/borrower's last name (surname) > > patron/borrower's first name > >+=head2 middle_name >+ >+ data_type: 'longtext' >+ is_nullable: 1 >+ >+patron/borrower's middle name >+ > =head2 title > > data_type: 'longtext' >@@ -636,6 +643,8 @@ __PACKAGE__->add_columns( > { data_type => "longtext", is_nullable => 1 }, > "firstname", > { data_type => "mediumtext", is_nullable => 1 }, >+ "middle_name", >+ { data_type => "longtext", is_nullable => 1 }, > "title", > { data_type => "longtext", is_nullable => 1 }, > "othernames", >diff --git a/Koha/Schema/Result/BorrowerModification.pm b/Koha/Schema/Result/BorrowerModification.pm >index 81c5fed1fe..a9ea269162 100644 >--- a/Koha/Schema/Result/BorrowerModification.pm >+++ b/Koha/Schema/Result/BorrowerModification.pm >@@ -64,6 +64,13 @@ __PACKAGE__->table("borrower_modifications"); > data_type: 'mediumtext' > is_nullable: 1 > >+=head2 middle_name >+ >+ data_type: 'longtext' >+ is_nullable: 1 >+ >+patron/borrower's middle name >+ > =head2 title > > data_type: 'longtext' >@@ -453,6 +460,8 @@ __PACKAGE__->add_columns( > { data_type => "longtext", is_nullable => 1 }, > "firstname", > { data_type => "mediumtext", is_nullable => 1 }, >+ "middle_name", >+ { data_type => "longtext", is_nullable => 1 }, > "title", > { data_type => "longtext", is_nullable => 1 }, > "othernames", >@@ -622,8 +631,8 @@ __PACKAGE__->add_columns( > __PACKAGE__->set_primary_key("verification_token", "borrowernumber"); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-07-12 13:40:00 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6giYT5URks8+6VnAs/rtkg >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-04-19 15:22:49 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:mVS2req3gYPjCyZO+xlHWg > > sub koha_object_class { > 'Koha::Patron::Modification'; >diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm >index 85ce2b707f..b9fe3fe4ac 100644 >--- a/Koha/Schema/Result/Deletedborrower.pm >+++ b/Koha/Schema/Result/Deletedborrower.pm >@@ -53,6 +53,13 @@ patron/borrower's last name (surname) > > patron/borrower's first name > >+=head2 middle_name >+ >+ data_type: 'longtext' >+ is_nullable: 1 >+ >+patron/borrower's middle name >+ > =head2 title > > data_type: 'longtext' >@@ -633,6 +640,8 @@ __PACKAGE__->add_columns( > { data_type => "longtext", is_nullable => 1 }, > "firstname", > { data_type => "mediumtext", is_nullable => 1 }, >+ "middle_name", >+ { data_type => "longtext", is_nullable => 1 }, > "title", > { data_type => "longtext", is_nullable => 1 }, > "othernames", >-- >2.30.2
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 21978
:
133431
|
133432
|
133433
|
133434
|
133435
|
133436
|
133437
|
133438
|
133453
|
133454
|
133455
|
133456
|
133534
|
133535
|
133536
|
133537
|
133544
|
133545
|
133546
|
133547
|
133751
|
133752
|
133753
|
133754
|
133755
|
133756
|
133757
|
134254
|
134255
|
134256
|
134257
|
134258
|
134259
|
134495
|
134497
|
134498
|
134499
|
134500
|
134501
|
134502
|
134503
|
134745
|
134746
|
134747
|
134748
|
134749
|
134750
|
134751
|
135147
|
135148
|
135149
|
135150
|
135151
|
135152
|
135153
|
135154
|
135155
|
135180
|
135181
|
135182
|
135183
|
135184
|
135185
|
135186
|
135187
|
135188
|
135189
|
136513
|
136514
|
136515
|
136516
|
136517
|
136518
|
136519
|
136520
|
136521
|
136522
|
137612