From fb191964947cfcfba0d0f0c460a7bca0057e8b43 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 --- 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 3a4c46ae1d..7a62601df9 100644 --- a/Koha/Schema/Result/Itemtype.pm +++ b/Koha/Schema/Result/Itemtype.pm @@ -131,6 +131,12 @@ __PACKAGE__->table("itemtypes"); is_nullable: 1 size: 80 +=head2 automatic_checkin + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + =cut __PACKAGE__->add_columns( @@ -175,6 +181,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 @@ -287,12 +295,13 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-08-13 08:14:04 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5RxmTmtrwJJhTZMur1N05A +# 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.25.0