From 2e1a32caaaa0d9b3c0d7783cf27c993c9f40de1c Mon Sep 17 00:00:00 2001 From: Emmi Takkinen Date: Tue, 7 Sep 2021 09:38:56 +0300 Subject: [PATCH 2/3] Bug 9525: DO NOT PUSH! Schema update Sponsored-by: Koha-Suomi Oy --- Koha/Schema/Result/LibraryGroup.pm | 32 +++++++++--------------------- 1 file changed, 9 insertions(+), 23 deletions(-) diff --git a/Koha/Schema/Result/LibraryGroup.pm b/Koha/Schema/Result/LibraryGroup.pm index c2cc933e4b..5e917378ee 100644 --- a/Koha/Schema/Result/LibraryGroup.pm +++ b/Koha/Schema/Result/LibraryGroup.pm @@ -29,16 +29,12 @@ __PACKAGE__->table("library_groups"); is_auto_increment: 1 is_nullable: 0 -unique id for each group - =head2 parent_id data_type: 'integer' is_foreign_key: 1 is_nullable: 1 -if this is a child group, the id of the parent group - =head2 branchcode data_type: 'varchar' @@ -46,54 +42,46 @@ if this is a child group, the id of the parent group is_nullable: 1 size: 10 -The branchcode of a branch belonging to the parent group - =head2 title data_type: 'varchar' is_nullable: 1 size: 100 -Short description of the goup - =head2 description data_type: 'mediumtext' is_nullable: 1 -Longer explanation of the group, if necessary - =head2 ft_hide_patron_info data_type: 'tinyint' default_value: 0 is_nullable: 0 -Turn on the feature 'Hide patron's info' for this group - =head2 ft_search_groups_opac data_type: 'tinyint' default_value: 0 is_nullable: 0 -Use this group for staff side search groups - =head2 ft_search_groups_staff data_type: 'tinyint' default_value: 0 is_nullable: 0 -Use this group for opac side search groups - =head2 ft_local_hold_group data_type: 'tinyint' default_value: 0 is_nullable: 0 -Use this group to identify libraries as pick up location for holds +=head2 ft_local_float_group + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 =head2 created_on @@ -101,8 +89,6 @@ Use this group to identify libraries as pick up location for holds datetime_undef_if_invalid: 1 is_nullable: 1 -Date and time of creation - =head2 updated_on data_type: 'timestamp' @@ -110,8 +96,6 @@ Date and time of creation default_value: current_timestamp is_nullable: 0 -Date and time of last - =cut __PACKAGE__->add_columns( @@ -133,6 +117,8 @@ __PACKAGE__->add_columns( { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "ft_local_hold_group", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "ft_local_float_group", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "created_on", { data_type => "timestamp", @@ -246,8 +232,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WOqjMuJNt1Sh2FUvt3NGxA +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-09-07 09:36:34 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KODdfRcMd+9BxbebV11q1Q sub koha_object_class { 'Koha::Library::Group'; -- 2.25.1