Bugzilla – Attachment 130002 Details for
Bug 28633
Add a preferred name field to patrons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28633: DO NOT PUSH Schema Changes
Bug-28633-DO-NOT-PUSH-Schema-Changes.patch (text/plain), 4.15 KB, created by
Martin Renvoize (ashimema)
on 2022-01-31 10:55:58 UTC
(
hide
)
Description:
Bug 28633: DO NOT PUSH Schema Changes
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-01-31 10:55:58 UTC
Size:
4.15 KB
patch
obsolete
>From 45f3b29e64dcc7da006c9cabb475dca6b2e4ccf2 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 3 Jan 2022 15:30:44 +0000 >Subject: [PATCH] Bug 28633: DO NOT PUSH Schema Changes > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > Koha/Schema/Result/Borrower.pm | 13 +++++++++++-- > Koha/Schema/Result/BorrowerModification.pm | 13 +++++++++++-- > Koha/Schema/Result/Deletedborrower.pm | 13 +++++++++++-- > 3 files changed, 33 insertions(+), 6 deletions(-) > >diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm >index d4c13f1f3d..03e3432a1f 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 preferred_name >+ >+ data_type: 'longtext' >+ is_nullable: 1 >+ >+patron/borrower's preferred name >+ > =head2 title > > data_type: 'longtext' >@@ -620,6 +627,8 @@ __PACKAGE__->add_columns( > { data_type => "longtext", is_nullable => 1 }, > "firstname", > { data_type => "mediumtext", is_nullable => 1 }, >+ "preferred_name", >+ { data_type => "longtext", is_nullable => 1 }, > "title", > { data_type => "longtext", is_nullable => 1 }, > "othernames", >@@ -1905,8 +1914,8 @@ Composing rels: L</aqorder_users> -> ordernumber > __PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-09-20 12:00:15 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9g9WsdsdPINi2NP4H2A+CA >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-01-03 15:28:11 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hUlNHueH9NPPoU3JAzrOGA > > __PACKAGE__->add_columns( > '+anonymized' => { is_boolean => 1 }, >diff --git a/Koha/Schema/Result/BorrowerModification.pm b/Koha/Schema/Result/BorrowerModification.pm >index 81c5fed1fe..f7bdc88b6a 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 preferred_name >+ >+ data_type: 'longtext' >+ is_nullable: 1 >+ >+patron/borrower's preferred 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 }, >+ "preferred_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-01-03 15:28:11 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:tKBx8znWxtKbvVrk0czi/A > > sub koha_object_class { > 'Koha::Patron::Modification'; >diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm >index f0d7395d8d..d2c8968ceb 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 preferred_name >+ >+ data_type: 'longtext' >+ is_nullable: 1 >+ >+patron/borrower's preferred name >+ > =head2 title > > data_type: 'longtext' >@@ -617,6 +624,8 @@ __PACKAGE__->add_columns( > { data_type => "longtext", is_nullable => 1 }, > "firstname", > { data_type => "mediumtext", is_nullable => 1 }, >+ "preferred_name", >+ { data_type => "longtext", is_nullable => 1 }, > "title", > { data_type => "longtext", is_nullable => 1 }, > "othernames", >@@ -785,8 +794,8 @@ __PACKAGE__->add_columns( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-07-12 13:40:00 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9q8LmKrfO6bAAFaJ4Z3Jrg >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-01-03 15:28:11 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:j7rLZF7TG6VSzR+i+sB/ZQ > > __PACKAGE__->add_columns( > '+anonymized' => { is_boolean => 1 }, >-- >2.20.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 28633
:
123008
|
123009
|
123010
|
123658
|
125497
|
125498
|
125499
|
125500
|
126591
|
128968
|
128969
|
128970
|
130000
|
130001
|
130002
|
133445
|
133446
|
133447
|
133448
|
133449
|
133450
|
133451
|
133958
|
133959
|
133960
|
133961
|
133962
|
133963
|
133964
|
133965
|
166792
|
166793
|
166794
|
166813
|
166814
|
166815
|
166816
|
166817
|
167163
|
167164
|
173628
|
173629
|
173630
|
173631
|
173632
|
173633
|
173634
|
173664
|
173665
|
173666
|
173667
|
173668
|
173669
|
173670
|
173717
|
173718
|
173719
|
173813
|
173814
|
173815
|
173816
|
173826
|
173827
|
173828
|
173829
|
173930
|
173931
|
173932
|
173933
|
173934
|
173935
|
173936
|
174419
|
174420
|
174472
|
175177