From 43103a9d48dba3bb82fd0c52d458c898f6fcb926 Mon Sep 17 00:00:00 2001 From: Agustin Moyano Date: Fri, 4 Dec 2020 18:47:31 -0300 Subject: [PATCH] Bug 23207: Set automatic_checkin column as boolean in Itemtype schema Signed-off-by: Andrew Fuerste-Henry --- Koha/Schema/Result/Itemtype.pm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Itemtype.pm b/Koha/Schema/Result/Itemtype.pm index 266f19ee0f..c3d0deae15 100644 --- a/Koha/Schema/Result/Itemtype.pm +++ b/Koha/Schema/Result/Itemtype.pm @@ -167,6 +167,12 @@ Hide the item type from the search options in OPAC Group this item type with others with the same value on OPAC search options +=head2 automatic_checkin + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + =cut __PACKAGE__->add_columns( @@ -211,6 +217,8 @@ __PACKAGE__->add_columns( { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "searchcategory", { data_type => "varchar", is_nullable => 1, size => 80 }, + "automatic_checkin", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, ); =head1 PRIMARY KEY @@ -323,12 +331,13 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:iByLvz6PwhMByZC9bJb8ig +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-12-04 15:29:28 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nvjU4T+cepfbUA2tvXKKSA __PACKAGE__->add_columns( '+rentalcharge_hourly_calendar' => { is_boolean => 1 }, '+rentalcharge_daily_calendar' => { is_boolean => 1 }, + '+automatic_checkin' => { is_boolean => 1 }, ); # Use the ItemtypeLocalization view to create the join on localization -- 2.11.0