From 568733d1a6d3c3461e6f77bd91938794a24856e6 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 27 Oct 2021 14:49:01 +0100 Subject: [PATCH] Bug 27360: DBIC Build Signed-off-by: Barbara Johnson Signed-off-by: Christopher Brannon Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- Koha/Schema/Result/Branch.pm | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Branch.pm b/Koha/Schema/Result/Branch.pm index 500d100d05..3021935efc 100644 --- a/Koha/Schema/Result/Branch.pm +++ b/Koha/Schema/Result/Branch.pm @@ -191,6 +191,14 @@ MARC Organization Code, see http://www.loc.gov/marc/organizations/orgshome.html, the ability to act as a pickup location +=head2 public + + data_type: 'tinyint' + default_value: 1 + is_nullable: 0 + +whether this library should show in the opac + =cut __PACKAGE__->add_columns( @@ -240,6 +248,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 1, size => 16 }, "pickup_location", { data_type => "tinyint", default_value => 1, is_nullable => 0 }, + "public", + { data_type => "tinyint", default_value => 1, is_nullable => 0 }, ); =head1 PRIMARY KEY @@ -887,8 +897,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-07-16 07:12:03 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EZYvCbpv41QSEhHRPVFImA +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-10-27 13:48:49 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SVuazNjL6+ziK2Uwcc7OwA __PACKAGE__->add_columns( '+pickup_location' => { is_boolean => 1 } -- 2.39.5