From ef047462f0d87b7282ac2e496d05852309d7d896 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 28 Jun 2017 11:29:16 -0400 Subject: [PATCH] Bug 15524 - Update Schema Signed-off-by: Josef Moravec --- Koha/Schema/Result/BranchBorrowerCircRule.pm | 11 +++++++++-- Koha/Schema/Result/DefaultBorrowerCircRule.pm | 11 +++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/Koha/Schema/Result/BranchBorrowerCircRule.pm b/Koha/Schema/Result/BranchBorrowerCircRule.pm index 1c8ce6a..5123c43 100644 --- a/Koha/Schema/Result/BranchBorrowerCircRule.pm +++ b/Koha/Schema/Result/BranchBorrowerCircRule.pm @@ -47,6 +47,11 @@ __PACKAGE__->table("branch_borrower_circ_rules"); data_type: 'integer' is_nullable: 1 +=head2 max_holds + + data_type: 'integer' + is_nullable: 1 + =cut __PACKAGE__->add_columns( @@ -58,6 +63,8 @@ __PACKAGE__->add_columns( { data_type => "integer", is_nullable => 1 }, "maxonsiteissueqty", { data_type => "integer", is_nullable => 1 }, + "max_holds", + { data_type => "integer", is_nullable => 1 }, ); =head1 PRIMARY KEY @@ -107,8 +114,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-05-13 17:48:39 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MrhgFhfjV71AC5PXmvRPzg +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-06-27 14:54:53 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sMWYrZafhg3InWiWPZ2Axw # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/DefaultBorrowerCircRule.pm b/Koha/Schema/Result/DefaultBorrowerCircRule.pm index 87bf681..6164b8f 100644 --- a/Koha/Schema/Result/DefaultBorrowerCircRule.pm +++ b/Koha/Schema/Result/DefaultBorrowerCircRule.pm @@ -40,6 +40,11 @@ __PACKAGE__->table("default_borrower_circ_rules"); data_type: 'integer' is_nullable: 1 +=head2 max_holds + + data_type: 'integer' + is_nullable: 1 + =cut __PACKAGE__->add_columns( @@ -49,6 +54,8 @@ __PACKAGE__->add_columns( { data_type => "integer", is_nullable => 1 }, "maxonsiteissueqty", { data_type => "integer", is_nullable => 1 }, + "max_holds", + { data_type => "integer", is_nullable => 1 }, ); =head1 PRIMARY KEY @@ -81,8 +88,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-05-13 17:48:39 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EQ8PdQhM6+5K582+AL5ZXQ +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-06-27 14:54:53 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:aETMg1bzMvdgf/J/Zbu4+Q # You can replace this text with custom content, and it will be preserved on regeneration -- 2.1.4