From bbdce4cfad627c1328c63022269ba6a6a6eb0e2e Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 29 Apr 2020 09:05:04 -0300 Subject: [PATCH] Bug 20352: Identify boolean columns Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/Currency.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Koha/Schema/Result/Currency.pm b/Koha/Schema/Result/Currency.pm index 32ad36624f..6f9bd89ba0 100644 --- a/Koha/Schema/Result/Currency.pm +++ b/Koha/Schema/Result/Currency.pm @@ -169,6 +169,12 @@ __PACKAGE__->has_many( # Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-12-18 10:44:42 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2eo7pibKTiDmG1Hb9EvBwA +__PACKAGE__->add_columns( + "+active" => { is_boolean => 1 }, + "+archived" => { is_boolean => 1 }, + "+p_sep_by_space" => { is_boolean => 1 }, + "+p_cs_precedes" => { is_boolean => 1 } +); sub koha_object_class { 'Koha::Acquisition::Currency'; -- 2.26.2