From 1ef053564fdd8a037e9c276b3f2a2cdf58a2f06d Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Wed, 8 Mar 2017 14:19:34 +0100 Subject: [PATCH] Bug 18228: DBIx schema changes for Virtualshelve.pm No test plan. Signed-off-by: Marcel de Rooy Signed-off-by: Jesse Maseto Signed-off-by: Nick Clemens --- Koha/Schema/Result/Virtualshelve.pm | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/Koha/Schema/Result/Virtualshelve.pm b/Koha/Schema/Result/Virtualshelve.pm index e4b2973d46..4574cd7552 100644 --- a/Koha/Schema/Result/Virtualshelve.pm +++ b/Koha/Schema/Result/Virtualshelve.pm @@ -67,19 +67,13 @@ __PACKAGE__->table("virtualshelves"); datetime_undef_if_invalid: 1 is_nullable: 0 -=head2 allow_add - - data_type: 'tinyint' - default_value: 0 - is_nullable: 1 - -=head2 allow_delete_own +=head2 allow_change_from_owner data_type: 'tinyint' default_value: 1 is_nullable: 1 -=head2 allow_delete_other +=head2 allow_change_from_others data_type: 'tinyint' default_value: 0 @@ -116,11 +110,9 @@ __PACKAGE__->add_columns( datetime_undef_if_invalid => 1, is_nullable => 0, }, - "allow_add", - { data_type => "tinyint", default_value => 0, is_nullable => 1 }, - "allow_delete_own", + "allow_change_from_owner", { data_type => "tinyint", default_value => 1, is_nullable => 1 }, - "allow_delete_other", + "allow_change_from_others", { data_type => "tinyint", default_value => 0, is_nullable => 1 }, ); @@ -189,8 +181,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-09-06 09:35:37 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wfAdz7LrmH49vdJ3f5rsmA +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-03-08 14:19:17 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Xoq0lhLouCbkAp6F4ZyMGQ # You can replace this text with custom content, and it will be preserved on regeneration -- 2.39.5