From 0c2442ba47ac0d22b5217b655d8d94d28ea7ff96 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 55eabad..8a3f79a 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 10:10:39 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:eLZ8pyOmOIdhgMRg8UuXNg +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-09-20 10:36:37 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ujgdON5BfG/GN0YMKyapKw __PACKAGE__->belongs_to( "guarantor", diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm index 4d15e35..a1f1ee6 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-09-20 10:36:37 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5Y3GK7HCX41JEZ83ef7uFQ # You can replace this text with custom code or comments, and it will be preserved on regeneration -- 2.1.4