From adcc5d6273a82ae37251e8b861f43243273a52cd Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 22 Apr 2021 11:13:33 +0200 Subject: [PATCH] Bug 23207: DBIC schema changes Signed-off-by: Jonathan Druart --- Koha/Schema/Result/Itemtype.pm | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Itemtype.pm b/Koha/Schema/Result/Itemtype.pm index 9413f5b279..1e14063e1d 100644 --- a/Koha/Schema/Result/Itemtype.pm +++ b/Koha/Schema/Result/Itemtype.pm @@ -167,6 +167,14 @@ 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 + +If automatic checkin is enabled for items of this type + =cut __PACKAGE__->add_columns( @@ -211,6 +219,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,8 +333,8 @@ __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 @ 2021-04-22 09:12:04 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/kFAnQQ7q1KaLJ9h7vk0vg __PACKAGE__->add_columns( '+rentalcharge_hourly_calendar' => { is_boolean => 1 }, -- 2.39.5