From 1388a23d10130101a2b2b2802995c4cb37eafc68 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Fri, 26 Jan 2018 16:02:48 +0100 Subject: [PATCH] Bug 18818: define new column as boolean in DBIC Schema See https://wiki.koha-community.org/wiki/Coding_Guidelines#SQL12:_Booleans Signed-off-by: JM Broust --- Koha/Schema/Result/Category.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Koha/Schema/Result/Category.pm b/Koha/Schema/Result/Category.pm index 42865a8..2f877bb 100644 --- a/Koha/Schema/Result/Category.pm +++ b/Koha/Schema/Result/Category.pm @@ -270,6 +270,9 @@ __PACKAGE__->might_have( # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TGAiiFICSjlKNvnfa87kFQ +__PACKAGE__->add_columns( + '+quick_add_display' => { is_boolean => 1 }, +); # You can replace this text with custom content, and it will be preserved on regeneration 1; -- 2.7.4