From 822c01b94be655d3e1963845274d28e3c9475b00 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Wed, 22 Apr 2020 21:04:32 +0000 Subject: [PATCH] Bug 23111: Making is_default a boolean flag Signed-off-by: Bernardo Gonzalez Kriegel Signed-off-by: David Nind --- Koha/Schema/Result/BiblioFramework.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Koha/Schema/Result/BiblioFramework.pm b/Koha/Schema/Result/BiblioFramework.pm index cbcad2c211e..17458dc2107 100644 --- a/Koha/Schema/Result/BiblioFramework.pm +++ b/Koha/Schema/Result/BiblioFramework.pm @@ -86,5 +86,8 @@ __PACKAGE__->has_many( { cascade_copy => 0, cascade_delete => 0 }, ); -# You can replace this text with custom content, and it will be preserved on regeneration +__PACKAGE__->add_columns( + '+is_default' => { is_boolean => 1 }, +); + 1; -- 2.30.2