From 5f49c760bef29210c0574b1ed93718d3bde5d7d5 Mon Sep 17 00:00:00 2001 From: Jacob O'Mara Date: Tue, 4 Nov 2025 15:55:41 +0000 Subject: [PATCH] Bug 39224: add is_boolean definitions for shibboleth tables to schema This applies to controllers: - ShibolethConfig - sync - welcome - autocreate - force{opac/staff}sso - ShibbolethFieldMapping - is_matchpoint --- Koha/Schema/Result/ShibbolethConfig.pm | 7 +++++++ Koha/Schema/Result/ShibbolethFieldMapping.pm | 3 +++ 2 files changed, 10 insertions(+) diff --git a/Koha/Schema/Result/ShibbolethConfig.pm b/Koha/Schema/Result/ShibbolethConfig.pm index c7456989f27..2de6c29fe52 100644 --- a/Koha/Schema/Result/ShibbolethConfig.pm +++ b/Koha/Schema/Result/ShibbolethConfig.pm @@ -104,6 +104,13 @@ __PACKAGE__->set_primary_key("shibboleth_config_id"); # Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-10-31 15:43:50 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:AIDq10SUxo8NgJsBj8oldg +__PACKAGE__->add_columns( + '+force_opac_sso' => { is_boolean => 1 }, + '+force_staff_sso' => { is_boolean => 1 }, + '+autocreate' => { is_boolean => 1 }, + '+sync' => { is_boolean => 1 }, + '+welcome' => { is_boolean => 1 }, +); # You can replace this text with custom code or comments, and it will be preserved on regeneration 1; diff --git a/Koha/Schema/Result/ShibbolethFieldMapping.pm b/Koha/Schema/Result/ShibbolethFieldMapping.pm index 0735f02a870..8054cc31b08 100644 --- a/Koha/Schema/Result/ShibbolethFieldMapping.pm +++ b/Koha/Schema/Result/ShibbolethFieldMapping.pm @@ -108,6 +108,9 @@ __PACKAGE__->add_unique_constraint("koha_field_idx", ["koha_field"]); # Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-10-31 15:43:50 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jMBj5Kjjkh1fX74py69SXQ +__PACKAGE__->add_columns( + '+is_matchpoint' => { is_boolean => 1 }, +); # You can replace this text with custom code or comments, and it will be preserved on regeneration 1; -- 2.39.5