From cfbcafb7bc665fc3992c24d4e3e6de73cfef0303 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 19 Sep 2017 13:20:41 -0300 Subject: [PATCH] Bug 6758: DBIC Schema changes Signed-off-by: Jonathan Druart --- Koha/Schema/Result/Borrower.pm | 12 ++++++++++-- Koha/Schema/Result/BorrowerModification.pm | 12 ++++++++++-- Koha/Schema/Result/Deletedborrower.pm | 12 ++++++++++-- 3 files changed, 30 insertions(+), 6 deletions(-) diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm index e50268d377..91dde0da66 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/Koha/Schema/Result/Borrower.pm @@ -232,6 +232,12 @@ __PACKAGE__->table("borrowers"); datetime_undef_if_invalid: 1 is_nullable: 1 +=head2 date_renewed + + data_type: 'date' + datetime_undef_if_invalid: 1 + is_nullable: 1 + =head2 gonenoaddress data_type: 'tinyint' @@ -552,6 +558,8 @@ __PACKAGE__->add_columns( { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, "dateexpiry", { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, + "date_renewed", + { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, "gonenoaddress", { data_type => "tinyint", is_nullable => 1 }, "lost", @@ -1378,8 +1386,8 @@ Composing rels: L -> ordernumber __PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-05-09 21:24:02 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7llO928plwtX2Q+I9nQA8A +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-09-19 03:00:28 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZZDjvikajGC+2s4vkp9stw __PACKAGE__->belongs_to( "guarantor", diff --git a/Koha/Schema/Result/BorrowerModification.pm b/Koha/Schema/Result/BorrowerModification.pm index af4895a038..c6b01dcd9b 100644 --- a/Koha/Schema/Result/BorrowerModification.pm +++ b/Koha/Schema/Result/BorrowerModification.pm @@ -242,6 +242,12 @@ __PACKAGE__->table("borrower_modifications"); datetime_undef_if_invalid: 1 is_nullable: 1 +=head2 date_renewed + + data_type: 'date' + datetime_undef_if_invalid: 1 + is_nullable: 1 + =head2 gonenoaddress data_type: 'tinyint' @@ -513,6 +519,8 @@ __PACKAGE__->add_columns( { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, "dateexpiry", { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, + "date_renewed", + { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, "gonenoaddress", { data_type => "tinyint", is_nullable => 1 }, "lost", @@ -590,8 +598,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("verification_token", "borrowernumber"); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-12-12 20:04:12 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IZNhBX5Bj+x4S8JCWG+7lA +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-09-19 03:00:28 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:k+pL864IIHY6NP9y9MMWAw # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm index 33e394757a..e961de4abe 100644 --- a/Koha/Schema/Result/Deletedborrower.pm +++ b/Koha/Schema/Result/Deletedborrower.pm @@ -230,6 +230,12 @@ __PACKAGE__->table("deletedborrowers"); datetime_undef_if_invalid: 1 is_nullable: 1 +=head2 date_renewed + + data_type: 'date' + datetime_undef_if_invalid: 1 + is_nullable: 1 + =head2 gonenoaddress data_type: 'tinyint' @@ -537,6 +543,8 @@ __PACKAGE__->add_columns( { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, "dateexpiry", { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, + "date_renewed", + { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, "gonenoaddress", { data_type => "tinyint", is_nullable => 1 }, "lost", @@ -633,8 +641,8 @@ __PACKAGE__->add_columns( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-05-09 21:24:03 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SpP0xoSTFIweqTp1muUwvg +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-09-19 03:00:28 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Q3cG0PLX/T3axMdO0MiSug # You can replace this text with custom code or comments, and it will be preserved on regeneration -- 2.39.5