From 2822412908473b3815647f4af7a18059c76492ee Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 10 May 2022 08:34:05 +0200 Subject: [PATCH] Bug 30650: DBIC specific Note for QA - a false positive is raised by the QA tools: """ The new column curbside_pickup_opening_slots.day is using TINYINT(1) as type but is not defined as boolean in the schema file (Koha/Schema/Result/CurbsidePickupOpeningSlot.pm) """ => It's not a boolean! Sponsored-by: Association KohaLa - https://koha-fr.org/ Signed-off-by: Koha Team University Lyon 3 Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/CurbsidePickupPolicy.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Koha/Schema/Result/CurbsidePickupPolicy.pm b/Koha/Schema/Result/CurbsidePickupPolicy.pm index 1cca912ce8..c660539220 100644 --- a/Koha/Schema/Result/CurbsidePickupPolicy.pm +++ b/Koha/Schema/Result/CurbsidePickupPolicy.pm @@ -148,5 +148,10 @@ __PACKAGE__->has_many( # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:RyZGROB1+g3kb2bo6mwrUQ -# You can replace this text with custom code or comments, and it will be preserved on regeneration +__PACKAGE__->add_columns( + '+enabled' => { is_boolean => 1 }, + '+enable_waiting_holds_only' => { is_boolean => 1 }, + '+patron_scheduled_pickup' => { is_boolean => 1 }, +); + 1; -- 2.39.5