From 97082a6ece0aad6bfe0c38407af483779b39020b 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 --- 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.20.1