From 2dadb3827b57cfab17cf0e83d5f2142ad9e196d3 Mon Sep 17 00:00:00 2001 From: Alex Buckley Date: Fri, 2 Jul 2021 06:51:37 +0000 Subject: [PATCH] Bug 26346: Updated schema file Sponsored-By: Catalyst IT --- Koha/Schema/Result/Virtualshelve.pm | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Virtualshelve.pm b/Koha/Schema/Result/Virtualshelve.pm index 4fa1265959..9515b1379d 100644 --- a/Koha/Schema/Result/Virtualshelve.pm +++ b/Koha/Schema/Result/Virtualshelve.pm @@ -97,6 +97,12 @@ can owner change contents? can others change contents? +=head2 allow_change_from_staff + + data_type: 'tinyint' + default_value: 0 + is_nullable: 1 + =cut __PACKAGE__->add_columns( @@ -132,6 +138,8 @@ __PACKAGE__->add_columns( { data_type => "tinyint", default_value => 1, is_nullable => 1 }, "allow_change_from_others", { data_type => "tinyint", default_value => 0, is_nullable => 1 }, + "allow_change_from_staff", + { data_type => "tinyint", default_value => 0, is_nullable => 1 }, ); =head1 PRIMARY KEY @@ -199,8 +207,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:6ZQ6kL/0DzyOMymz+4+LhA +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-07-02 06:51:04 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xSh9kBSxZpxVFp+cQuQYkg sub koha_object_class { 'Koha::Virtualshelf'; -- 2.11.0