From fbf893dfc17b4097962bc5040a043a94e24e3a81 Mon Sep 17 00:00:00 2001 From: Martin Renvoize 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