From 1230f0815b995080b4c0c4722961ed187c26689a Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Mon, 23 Mar 2020 06:50:05 -0400 Subject: [PATCH] Bug 21443: Mark new columns as boolean in schema file Signed-off-by: Kyle M Hall Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- Koha/Schema/Result/Itemtype.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Koha/Schema/Result/Itemtype.pm b/Koha/Schema/Result/Itemtype.pm index d9a740ff9d..b180a90c49 100644 --- a/Koha/Schema/Result/Itemtype.pm +++ b/Koha/Schema/Result/Itemtype.pm @@ -246,6 +246,11 @@ __PACKAGE__->has_many( # Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-09 17:13:18 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7ojvTzsDvdHPAJMwJrAZ7A +__PACKAGE__->add_columns( + '+rentalcharge_hourly_calendar' => { is_boolean => 1 }, + '+rentalcharge_daily_calendar' => { is_boolean => 1 }, +); + # Use the ItemtypeLocalization view to create the join on localization our $LANGUAGE; __PACKAGE__->has_many( -- 2.39.5