From 3322f37558c9662bfc48b54a09c466399a4b2879 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Mon, 14 Mar 2016 12:55:23 +0000 Subject: [PATCH] Bug 9805 - Update Schema --- Koha/Schema/Result/DefaultBranchCircRule.pm | 20 ++++++++++++++++++-- Koha/Schema/Result/DefaultCircRule.pm | 20 ++++++++++++++++++-- 2 files changed, 36 insertions(+), 4 deletions(-) diff --git a/Koha/Schema/Result/DefaultBranchCircRule.pm b/Koha/Schema/Result/DefaultBranchCircRule.pm index 5963b05..f13b8f7 100644 --- a/Koha/Schema/Result/DefaultBranchCircRule.pm +++ b/Koha/Schema/Result/DefaultBranchCircRule.pm @@ -51,6 +51,18 @@ __PACKAGE__->table("default_branch_circ_rules"); is_nullable: 1 size: 15 +=head2 renew_lost_allowed + + data_type: 'tinyint' + default_value: 1 + is_nullable: 0 + +=head2 renew_lost_found + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + =cut __PACKAGE__->add_columns( @@ -64,6 +76,10 @@ __PACKAGE__->add_columns( { data_type => "tinyint", is_nullable => 1 }, "returnbranch", { data_type => "varchar", is_nullable => 1, size => 15 }, + "renew_lost_allowed", + { data_type => "tinyint", default_value => 1, is_nullable => 0 }, + "renew_lost_found", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, ); =head1 PRIMARY KEY @@ -96,8 +112,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:p95r3cEx85NtMTEAgiRgBw +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-03-14 12:54:49 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1in/TcrS3X/ryU72q/4btA # 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 5e0f266..d1a85f9 100644 --- a/Koha/Schema/Result/DefaultCircRule.pm +++ b/Koha/Schema/Result/DefaultCircRule.pm @@ -51,6 +51,18 @@ __PACKAGE__->table("default_circ_rules"); is_nullable: 1 size: 15 +=head2 renew_lost_allowed + + data_type: 'tinyint' + default_value: 1 + is_nullable: 0 + +=head2 renew_lost_found + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + =cut __PACKAGE__->add_columns( @@ -69,6 +81,10 @@ __PACKAGE__->add_columns( { data_type => "integer", is_nullable => 1 }, "returnbranch", { data_type => "varchar", is_nullable => 1, size => 15 }, + "renew_lost_allowed", + { data_type => "tinyint", default_value => 1, is_nullable => 0 }, + "renew_lost_found", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, ); =head1 PRIMARY KEY @@ -84,8 +100,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("singleton"); -# 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 +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-03-14 12:54:49 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jBmWd6qSwc8R6XrBv/PFVg # You can replace this text with custom content, and it will be preserved on regeneration -- 2.1.4