From 73bc5a45fecabfbfe569dffaa40dd879d8c87207 Mon Sep 17 00:00:00 2001
From: Nick Clemens <nick@bywatersolutions.com>
Date: Wed, 13 Apr 2022 13:29:41 +0000
Subject: [PATCH] Bug 17170: Update schema for boolean

---
 Koha/Schema/Result/SearchFilter.pm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Koha/Schema/Result/SearchFilter.pm b/Koha/Schema/Result/SearchFilter.pm
index 222d7da6fd..7b07745bc1 100644
--- a/Koha/Schema/Result/SearchFilter.pm
+++ b/Koha/Schema/Result/SearchFilter.pm
@@ -94,6 +94,13 @@ __PACKAGE__->set_primary_key("id");
 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-04-07 10:58:32
 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QrBHiG/67sgZ5TLSvy731g
 
+__PACKAGE__->add_columns(
+            '+opac' => { is_boolean => 1 },
+        );
+
+__PACKAGE__->add_columns(
+            '+staff_client' => { is_boolean => 1 },
+        );
 
 # You can replace this text with custom code or comments, and it will be preserved on regeneration
 1;
-- 
2.30.2