From c768696ca92a2dc6f88a5841f64ee014f14921ab Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 23 Jan 2020 02:38:01 +0000 Subject: [PATCH] Bug 24476: DO NOT PUSH - Schema updates is_boolean line must be copied however --- Koha/Schema/Result/Borrower.pm | 15 ++++++++++++--- Koha/Schema/Result/Deletedborrower.pm | 12 ++++++++++-- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm index f7224cc299..08fae9dfe6 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/Koha/Schema/Result/Borrower.pm @@ -458,6 +458,12 @@ __PACKAGE__->table("borrowers"); default_value: 0 is_nullable: 0 +=head2 no_autorenewal + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + =cut __PACKAGE__->add_columns( @@ -662,6 +668,8 @@ __PACKAGE__->add_columns( { data_type => "mediumtext", is_nullable => 1 }, "anonymized", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "no_autorenewal", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, ); =head1 PRIMARY KEY @@ -1635,14 +1643,15 @@ Composing rels: L -> ordernumber __PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-10 14:31:00 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GjJLIOViIFRm185Yjl9vYA +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-01-23 01:05:30 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zPLFrXghnPy5V+I6W0XBNg __PACKAGE__->add_columns( '+anonymized' => { is_boolean => 1 }, '+lost' => { is_boolean => 1 }, '+gonenoaddress' => { is_boolean => 1 }, - '+privacy_guarantor_fines' => { is_boolean => 1 } + '+privacy_guarantor_fines' => { is_boolean => 1 }, + '+no_autorenewal' => { is_boolean => 1 } ); sub koha_objects_class { diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm index 1ba0873e2f..b5a0dfdf66 100644 --- a/Koha/Schema/Result/Deletedborrower.pm +++ b/Koha/Schema/Result/Deletedborrower.pm @@ -455,6 +455,12 @@ __PACKAGE__->table("deletedborrowers"); default_value: 0 is_nullable: 0 +=head2 no_autorenewal + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + =cut __PACKAGE__->add_columns( @@ -647,11 +653,13 @@ __PACKAGE__->add_columns( { data_type => "mediumtext", is_nullable => 1 }, "anonymized", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "no_autorenewal", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-05-22 04:33:29 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zK1jC6Wawwj8B2ch9KFByw +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-01-23 01:05:30 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wRsxS1VdS2ibTfAXcwiuYA sub koha_objects_class { 'Koha::Old::Patrons'; -- 2.11.0