From 19854127eeb447fb4dea010701f3397360cfef26 Mon Sep 17 00:00:00 2001 From: Alex Buckley Date: Wed, 17 Aug 2022 20:06:57 +0000 Subject: [PATCH] Bug 30418: Updated schema file Sponsored-by: Catalyst IT, New Zealand Signed-off-by: Kyle M Hall Signed-off-by: Lucas Gass Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/Virtualshelve.pm | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Virtualshelve.pm b/Koha/Schema/Result/Virtualshelve.pm index 8ca7998e3c..6fc6e765f0 100644 --- a/Koha/Schema/Result/Virtualshelve.pm +++ b/Koha/Schema/Result/Virtualshelve.pm @@ -105,6 +105,14 @@ can others change contents? can staff change contents? +=head2 allow_change_from_permitted_staff + + data_type: 'tinyint' + default_value: 0 + is_nullable: 1 + +can staff with edit_public_list_contents permission change contents? + =cut __PACKAGE__->add_columns( @@ -142,6 +150,8 @@ __PACKAGE__->add_columns( { data_type => "tinyint", default_value => 0, is_nullable => 1 }, "allow_change_from_staff", { data_type => "tinyint", default_value => 0, is_nullable => 1 }, + "allow_change_from_permitted_staff", + { data_type => "tinyint", default_value => 0, is_nullable => 1 }, ); =head1 PRIMARY KEY @@ -209,8 +219,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-04-12 10:03:27 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:dzF83u6fWMs2YRrG2yBD8w +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-08-17 19:59:33 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EKq7nDW2AeZ2NQce2BPMWA sub koha_object_class { 'Koha::Virtualshelf'; -- 2.39.5