Bugzilla – Attachment 192312 Details for
Bug 38769
Add plugins consent types to OPAC self registration process
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38769: Update DBIC schema for consents column
fbf893d.patch (text/plain), 1.73 KB, created by
Martin Renvoize (ashimema)
on 2026-02-02 12:31:34 UTC
(
hide
)
Description:
Bug 38769: Update DBIC schema for consents column
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2026-02-02 12:31:34 UTC
Size:
1.73 KB
patch
obsolete
>From fbf893dfc17b4097962bc5040a043a94e24e3a81 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@openfifth.co.uk> >Date: Mon, 2 Feb 2026 12:21:12 +0000 >Subject: [PATCH] Bug 38769: Update DBIC schema for consents column > >Add the 'consents' column definition to the BorrowerModification >DBIC schema class to match the database table change. >--- > Koha/Schema/Result/BorrowerModification.pm | 13 +++++++++++-- > 1 file changed, 11 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/BorrowerModification.pm b/Koha/Schema/Result/BorrowerModification.pm >index b39f1169bb3..93bf98ea2b1 100644 >--- a/Koha/Schema/Result/BorrowerModification.pm >+++ b/Koha/Schema/Result/BorrowerModification.pm >@@ -432,6 +432,13 @@ patron/borrower's middle name > data_type: 'mediumtext' > is_nullable: 1 > >+=head2 consents >+ >+ data_type: 'mediumtext' >+ is_nullable: 1 >+ >+JSON-encoded plugin consents for self-registration >+ > =head2 gdpr_proc_consent > > data_type: 'datetime' >@@ -621,6 +628,8 @@ __PACKAGE__->add_columns( > { data_type => "integer", is_nullable => 1 }, > "extended_attributes", > { data_type => "mediumtext", is_nullable => 1 }, >+ "consents", >+ { data_type => "mediumtext", is_nullable => 1 }, > "gdpr_proc_consent", > { > data_type => "datetime", >@@ -648,8 +657,8 @@ __PACKAGE__->add_columns( > __PACKAGE__->set_primary_key("verification_token", "borrowernumber"); > > >-# Created by DBIx::Class::Schema::Loader v0.07051 @ 2026-01-14 15:48:20 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Tm784N5Rx29p9rmrNmaqCQ >+# Created by DBIx::Class::Schema::Loader v0.07051 @ 2026-02-02 12:27:59 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:E/5DuIYRkJrbi1hhikSADQ > > __PACKAGE__->add_columns( > '+gonenoaddress' => { is_boolean => 1 }, >-- >2.52.0 >
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 38769
:
175882
|
175883
|
192311
| 192312 |
192313
|
192314