From ec61fbb524490a9dd934834a9f27326969cf7acd Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 20 Sep 2018 10:37:43 +0200 Subject: [PATCH] Bug 21336: DBIx schema changes Content-Type: text/plain; charset=utf-8 Changes for additional column flgAnonymized. No test plan. Signed-off-by: Marcel de Rooy --- Koha/Schema/Result/Borrower.pm | 18 ++++++++++++++++-- Koha/Schema/Result/Deletedborrower.pm | 18 ++++++++++++++++-- 2 files changed, 32 insertions(+), 4 deletions(-) diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm index 236c917..f6f9961 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/Koha/Schema/Result/Borrower.pm @@ -451,6 +451,13 @@ __PACKAGE__->table("borrowers"); data_type: 'mediumtext' is_nullable: 1 +=head2 flgAnonymized + + accessor: 'flg_anonymized' + data_type: 'tinyint' + default_value: 0 + is_nullable: 1 + =cut __PACKAGE__->add_columns( @@ -653,6 +660,13 @@ __PACKAGE__->add_columns( { data_type => "integer", default_value => 0, is_nullable => 1 }, "overdrive_auth_token", { data_type => "mediumtext", is_nullable => 1 }, + "flgAnonymized", + { + accessor => "flg_anonymized", + data_type => "tinyint", + default_value => 0, + is_nullable => 1, + }, ); =head1 PRIMARY KEY @@ -1416,8 +1430,8 @@ Composing rels: L -> ordernumber __PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-09-20 13:00:20 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QT6EPIG26F/kNK6prauRgw +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-01 14:36:26 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:siRC99pcyZ6P1qeu9Gd9Xw __PACKAGE__->belongs_to( "guarantor", diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm index 4d15e35..c870ceb 100644 --- a/Koha/Schema/Result/Deletedborrower.pm +++ b/Koha/Schema/Result/Deletedborrower.pm @@ -448,6 +448,13 @@ __PACKAGE__->table("deletedborrowers"); data_type: 'mediumtext' is_nullable: 1 +=head2 flgAnonymized + + accessor: 'flg_anonymized' + data_type: 'tinyint' + default_value: 0 + is_nullable: 1 + =cut __PACKAGE__->add_columns( @@ -638,11 +645,18 @@ __PACKAGE__->add_columns( { data_type => "integer", default_value => 0, is_nullable => 1 }, "overdrive_auth_token", { data_type => "mediumtext", is_nullable => 1 }, + "flgAnonymized", + { + accessor => "flg_anonymized", + data_type => "tinyint", + default_value => 0, + is_nullable => 1, + }, ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:DNkNHNcv0lkMH6/seu89hg +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-01 14:36:26 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PtBvhk3jiOBS8D46si7XYQ # You can replace this text with custom code or comments, and it will be preserved on regeneration -- 2.1.4