From 5c0ea130ea2ee9e4503c78c044d58e9fc9aa1d48 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 13 May 2015 17:53:19 +0200 Subject: [PATCH] Bug 14045: DBIC Changes Signed-off-by: Nicolas Legrand Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/BranchBorrowerCircRule.pm | 11 +++++++++-- Koha/Schema/Result/DefaultBorrowerCircRule.pm | 11 +++++++++-- Koha/Schema/Result/DefaultBranchCircRule.pm | 11 +++++++++-- Koha/Schema/Result/DefaultCircRule.pm | 11 +++++++++-- Koha/Schema/Result/Issuingrule.pm | 11 +++++++++-- 5 files changed, 45 insertions(+), 10 deletions(-) diff --git a/Koha/Schema/Result/BranchBorrowerCircRule.pm b/Koha/Schema/Result/BranchBorrowerCircRule.pm index fce2914f72..1c8ce6a896 100644 --- a/Koha/Schema/Result/BranchBorrowerCircRule.pm +++ b/Koha/Schema/Result/BranchBorrowerCircRule.pm @@ -42,6 +42,11 @@ __PACKAGE__->table("branch_borrower_circ_rules"); data_type: 'integer' is_nullable: 1 +=head2 maxonsiteissueqty + + data_type: 'integer' + is_nullable: 1 + =cut __PACKAGE__->add_columns( @@ -51,6 +56,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 }, "maxissueqty", { data_type => "integer", is_nullable => 1 }, + "maxonsiteissueqty", + { data_type => "integer", is_nullable => 1 }, ); =head1 PRIMARY KEY @@ -100,8 +107,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:X24Sil3WTnxoeAa/16tpUQ +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-05-13 17:48:39 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MrhgFhfjV71AC5PXmvRPzg # 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 0f9c8f152c..87bf6810ac 100644 --- a/Koha/Schema/Result/DefaultBorrowerCircRule.pm +++ b/Koha/Schema/Result/DefaultBorrowerCircRule.pm @@ -35,6 +35,11 @@ __PACKAGE__->table("default_borrower_circ_rules"); data_type: 'integer' is_nullable: 1 +=head2 maxonsiteissueqty + + data_type: 'integer' + is_nullable: 1 + =cut __PACKAGE__->add_columns( @@ -42,6 +47,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 }, "maxissueqty", { data_type => "integer", is_nullable => 1 }, + "maxonsiteissueqty", + { data_type => "integer", is_nullable => 1 }, ); =head1 PRIMARY KEY @@ -74,8 +81,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bZVuSuLu0IxPcJMaUUjbSw +# 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 # 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 55fd2b2796..5963b056ca 100644 --- a/Koha/Schema/Result/DefaultBranchCircRule.pm +++ b/Koha/Schema/Result/DefaultBranchCircRule.pm @@ -35,6 +35,11 @@ __PACKAGE__->table("default_branch_circ_rules"); data_type: 'integer' is_nullable: 1 +=head2 maxonsiteissueqty + + data_type: 'integer' + is_nullable: 1 + =head2 holdallowed data_type: 'tinyint' @@ -53,6 +58,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 }, "maxissueqty", { data_type => "integer", is_nullable => 1 }, + "maxonsiteissueqty", + { data_type => "integer", is_nullable => 1 }, "holdallowed", { data_type => "tinyint", is_nullable => 1 }, "returnbranch", @@ -89,8 +96,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Uw1Y82CgbAY8ndLOucN70g +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-05-13 17:48:39 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:p95r3cEx85NtMTEAgiRgBw # 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 7bd15644eb..5e0f266ddf 100644 --- a/Koha/Schema/Result/DefaultCircRule.pm +++ b/Koha/Schema/Result/DefaultCircRule.pm @@ -35,6 +35,11 @@ __PACKAGE__->table("default_circ_rules"); data_type: 'integer' is_nullable: 1 +=head2 maxonsiteissueqty + + data_type: 'integer' + is_nullable: 1 + =head2 holdallowed data_type: 'integer' @@ -58,6 +63,8 @@ __PACKAGE__->add_columns( }, "maxissueqty", { data_type => "integer", is_nullable => 1 }, + "maxonsiteissueqty", + { data_type => "integer", is_nullable => 1 }, "holdallowed", { data_type => "integer", is_nullable => 1 }, "returnbranch", @@ -77,8 +84,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("singleton"); -# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:I4hY1uJ+wDoWPIiZj5amVg +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-05-13 17:48:39 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TLEpv+H3v7P3psVl+WMA0Q # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/Issuingrule.pm b/Koha/Schema/Result/Issuingrule.pm index 438c23b36e..53de573622 100644 --- a/Koha/Schema/Result/Issuingrule.pm +++ b/Koha/Schema/Result/Issuingrule.pm @@ -96,6 +96,11 @@ __PACKAGE__->table("issuingrules"); data_type: 'integer' is_nullable: 1 +=head2 maxonsiteissueqty + + data_type: 'integer' + is_nullable: 1 + =head2 issuelength data_type: 'integer' @@ -203,6 +208,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 1, size => 100 }, "maxissueqty", { data_type => "integer", is_nullable => 1 }, + "maxonsiteissueqty", + { data_type => "integer", is_nullable => 1 }, "issuelength", { data_type => "integer", is_nullable => 1 }, "lengthunit", @@ -253,8 +260,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("branchcode", "categorycode", "itemtype"); -# Created by DBIx::Class::Schema::Loader v0.07040 @ 2014-12-19 07:00:40 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CE8yuYC5QgPHI2GOjiT28w +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-05-13 17:48:39 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:H6LuTmUWdqmjCc5L4hsTQA # You can replace this text with custom content, and it will be preserved on regeneration -- 2.39.5