From f6d92f04a063195366748242da566468e9cf0d66 Mon Sep 17 00:00:00 2001 From: Agustin Moyano Date: Sun, 24 Mar 2019 22:53:30 -0300 Subject: [PATCH] Bug 22284: (follow-up) Add schema modifications Sponsored-by: VOKAL Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/BranchItemRule.pm | 8 ++++---- Koha/Schema/Result/DefaultBranchCircRule.pm | 8 ++++---- Koha/Schema/Result/DefaultBranchItemRule.pm | 8 ++++---- Koha/Schema/Result/DefaultCircRule.pm | 8 ++++---- Koha/Schema/Result/LibraryGroup.pm | 12 ++++++++++-- 5 files changed, 26 insertions(+), 18 deletions(-) diff --git a/Koha/Schema/Result/BranchItemRule.pm b/Koha/Schema/Result/BranchItemRule.pm index dafd57a45d..c7dc8ef507 100644 --- a/Koha/Schema/Result/BranchItemRule.pm +++ b/Koha/Schema/Result/BranchItemRule.pm @@ -46,7 +46,7 @@ __PACKAGE__->table("branch_item_rules"); data_type: 'enum' default_value: 'any' - extra: {list => ["any","homebranch","holdingbranch"]} + extra: {list => ["any","holdgroup","homebranch","holdingbranch"]} is_nullable: 0 =head2 returnbranch @@ -68,7 +68,7 @@ __PACKAGE__->add_columns( { data_type => "enum", default_value => "any", - extra => { list => ["any", "homebranch", "holdingbranch"] }, + extra => { list => ["any", "holdgroup", "homebranch", "holdingbranch"] }, is_nullable => 0, }, "returnbranch", @@ -122,8 +122,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-04-29 10:32:00 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yMmvhDqtrKcNeDU9ZJCQZw +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-04-12 01:50:56 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qOFBygBA/MbNQTMVlkCGdA # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/DefaultBranchCircRule.pm b/Koha/Schema/Result/DefaultBranchCircRule.pm index e3bb1288a6..bd5c56fc97 100644 --- a/Koha/Schema/Result/DefaultBranchCircRule.pm +++ b/Koha/Schema/Result/DefaultBranchCircRule.pm @@ -39,7 +39,7 @@ __PACKAGE__->table("default_branch_circ_rules"); data_type: 'enum' default_value: 'any' - extra: {list => ["any","homebranch","holdingbranch"]} + extra: {list => ["any","holdgroup","homebranch","holdingbranch"]} is_nullable: 0 =head2 returnbranch @@ -59,7 +59,7 @@ __PACKAGE__->add_columns( { data_type => "enum", default_value => "any", - extra => { list => ["any", "homebranch", "holdingbranch"] }, + extra => { list => ["any", "holdgroup", "homebranch", "holdingbranch"] }, is_nullable => 0, }, "returnbranch", @@ -96,8 +96,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-03-05 20:42:53 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SYfKl5LgCoDZVhPooF55SA +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-04-12 01:50:56 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xXpVLMUM5ur+fb8DU82HPw # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/DefaultBranchItemRule.pm b/Koha/Schema/Result/DefaultBranchItemRule.pm index 613df29f1e..5a8032cdbf 100644 --- a/Koha/Schema/Result/DefaultBranchItemRule.pm +++ b/Koha/Schema/Result/DefaultBranchItemRule.pm @@ -39,7 +39,7 @@ __PACKAGE__->table("default_branch_item_rules"); data_type: 'enum' default_value: 'any' - extra: {list => ["any","homebranch","holdingbranch"]} + extra: {list => ["any","holdgroup","homebranch","holdingbranch"]} is_nullable: 0 =head2 returnbranch @@ -59,7 +59,7 @@ __PACKAGE__->add_columns( { data_type => "enum", default_value => "any", - extra => { list => ["any", "homebranch", "holdingbranch"] }, + extra => { list => ["any", "holdgroup", "homebranch", "holdingbranch"] }, is_nullable => 0, }, "returnbranch", @@ -96,8 +96,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-04-29 10:32:00 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+dEOJjQezQNGILloXC2HfQ +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-04-12 01:50:56 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GCdis1CVFQVmLd4xrW/G4g # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/DefaultCircRule.pm b/Koha/Schema/Result/DefaultCircRule.pm index 4d34b1ced1..7b8227d006 100644 --- a/Koha/Schema/Result/DefaultCircRule.pm +++ b/Koha/Schema/Result/DefaultCircRule.pm @@ -39,7 +39,7 @@ __PACKAGE__->table("default_circ_rules"); data_type: 'enum' default_value: 'any' - extra: {list => ["any","homebranch","holdingbranch"]} + extra: {list => ["any","holdgroup","homebranch","holdingbranch"]} is_nullable: 0 =head2 returnbranch @@ -64,7 +64,7 @@ __PACKAGE__->add_columns( { data_type => "enum", default_value => "any", - extra => { list => ["any", "homebranch", "holdingbranch"] }, + extra => { list => ["any", "holdgroup", "homebranch", "holdingbranch"] }, is_nullable => 0, }, "returnbranch", @@ -84,8 +84,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("singleton"); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-03-05 20:42:53 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:mrebGRlc4MORi6OtUk8NyA +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-04-12 01:50:56 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KMqJaKR/CRKVcaExmDKSYw # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/LibraryGroup.pm b/Koha/Schema/Result/LibraryGroup.pm index 306075b355..c9f0d8a4e4 100644 --- a/Koha/Schema/Result/LibraryGroup.pm +++ b/Koha/Schema/Result/LibraryGroup.pm @@ -71,6 +71,12 @@ __PACKAGE__->table("library_groups"); default_value: 0 is_nullable: 0 +=head2 ft_local_hold_group + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + =head2 created_on data_type: 'timestamp' @@ -103,6 +109,8 @@ __PACKAGE__->add_columns( { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "ft_search_groups_staff", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "ft_local_hold_group", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "created_on", { data_type => "timestamp", @@ -202,8 +210,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8hvTh2lWoG/MpfSdq4kx5Q +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-03-25 01:27:47 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:RyFctYjGqtYCIsgJJPzppQ # You can replace this text with custom code or comments, and it will be preserved on regeneration -- 2.11.0