From d15cecacedd58abdafa0b0276a3002af7b266090 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 17 Sep 2014 21:10:20 -0300 Subject: [PATCH] Bug 11577: Update DBIx Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/Issue.pm | 12 ++++++++++-- Koha/Schema/Result/Issuingrule.pm | 12 ++++++++++-- Koha/Schema/Result/OldIssue.pm | 12 ++++++++++-- 3 files changed, 30 insertions(+), 6 deletions(-) diff --git a/Koha/Schema/Result/Issue.pm b/Koha/Schema/Result/Issue.pm index 2b3e3fdc0f..4f6dd151db 100644 --- a/Koha/Schema/Result/Issue.pm +++ b/Koha/Schema/Result/Issue.pm @@ -76,6 +76,12 @@ __PACKAGE__->table("issues"); data_type: 'tinyint' is_nullable: 1 +=head2 auto_renew + + data_type: 'tinyint' + default_value: 0 + is_nullable: 1 + =head2 timestamp data_type: 'timestamp' @@ -122,6 +128,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 1, size => 4 }, "renewals", { data_type => "tinyint", is_nullable => 1 }, + "auto_renew", + { data_type => "tinyint", default_value => 0, is_nullable => 1 }, "timestamp", { data_type => "timestamp", @@ -180,8 +188,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2SJJ3az4Ml9hKEQvNH3+Kw +# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-09-17 21:06:58 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vhnsyH2GOjEEjOWjCS5Lpw __PACKAGE__->belongs_to( "borrower", diff --git a/Koha/Schema/Result/Issuingrule.pm b/Koha/Schema/Result/Issuingrule.pm index b572b0446b..a8cf0147d7 100644 --- a/Koha/Schema/Result/Issuingrule.pm +++ b/Koha/Schema/Result/Issuingrule.pm @@ -136,6 +136,12 @@ __PACKAGE__->table("issuingrules"); data_type: 'integer' is_nullable: 1 +=head2 auto_renew + + data_type: 'tinyint' + default_value: 0 + is_nullable: 1 + =head2 reservesallowed data_type: 'smallint' @@ -203,6 +209,8 @@ __PACKAGE__->add_columns( { data_type => "integer", is_nullable => 1 }, "norenewalbefore", { data_type => "integer", is_nullable => 1 }, + "auto_renew", + { data_type => "tinyint", default_value => 0, is_nullable => 1 }, "reservesallowed", { data_type => "smallint", default_value => 0, is_nullable => 0 }, "branchcode", @@ -228,8 +236,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("branchcode", "categorycode", "itemtype"); -# Created by DBIx::Class::Schema::Loader v0.07025 @ 2014-05-26 01:42:56 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pUzsnO8gQmmwKLmB84C10g +# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-09-17 21:06:58 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vmlv13CeQ99RO0VsviRABg # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/OldIssue.pm b/Koha/Schema/Result/OldIssue.pm index e6d664bf12..faa472cbe9 100644 --- a/Koha/Schema/Result/OldIssue.pm +++ b/Koha/Schema/Result/OldIssue.pm @@ -76,6 +76,12 @@ __PACKAGE__->table("old_issues"); data_type: 'tinyint' is_nullable: 1 +=head2 auto_renew + + data_type: 'tinyint' + default_value: 0 + is_nullable: 1 + =head2 timestamp data_type: 'timestamp' @@ -122,6 +128,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 1, size => 4 }, "renewals", { data_type => "tinyint", is_nullable => 1 }, + "auto_renew", + { data_type => "tinyint", default_value => 0, is_nullable => 1 }, "timestamp", { data_type => "timestamp", @@ -180,8 +188,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sgsDHihVYHrTycbaqoGbaQ +# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-09-17 21:06:58 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/ofcOgd+0YhWqMTWEDdaCw # You can replace this text with custom content, and it will be preserved on regeneration -- 2.39.5