From 33f021eaed83935f1bf7d55fabf4648812a2c857 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joonas=20Kylm=C3=A4l=C3=A4?= Date: Wed, 2 Jun 2021 20:45:23 +0300 Subject: [PATCH] Bug 28490: Add DBIx schema changes for testing Signed-off-by: Kyle M Hall --- Koha/Schema/Result/Borrower.pm | 14 ++++++++++++-- Koha/Schema/Result/BorrowerModification.pm | 12 ++++++++++-- Koha/Schema/Result/Deletedborrower.pm | 14 ++++++++++++-- 3 files changed, 34 insertions(+), 6 deletions(-) diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm index 0c342305f1..bcca94d162 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/Koha/Schema/Result/Borrower.pm @@ -362,6 +362,14 @@ used for children to include title (Mr., Mrs., etc) of guarantor a note on the patron/borrower's account that is only visible in the staff interface +=head2 relationship + + data_type: 'varchar' + is_nullable: 1 + size: 100 + +used for children to include the relationship to their guarantor + =head2 sex data_type: 'varchar' @@ -698,6 +706,8 @@ __PACKAGE__->add_columns( { data_type => "mediumtext", is_nullable => 1 }, "borrowernotes", { data_type => "longtext", is_nullable => 1 }, + "relationship", + { data_type => "varchar", is_nullable => 1, size => 100 }, "sex", { data_type => "varchar", is_nullable => 1, size => 1 }, "password", @@ -1855,8 +1865,8 @@ Composing rels: L -> ordernumber __PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-05-10 13:50:02 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:mrHF9QG7qY32EnjukdNZRw +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-06-02 17:44:41 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jKUtbiMUZoLl1eIwhoYZMw __PACKAGE__->add_columns( '+anonymized' => { is_boolean => 1 }, diff --git a/Koha/Schema/Result/BorrowerModification.pm b/Koha/Schema/Result/BorrowerModification.pm index bab6c8fbdf..fb10da92d2 100644 --- a/Koha/Schema/Result/BorrowerModification.pm +++ b/Koha/Schema/Result/BorrowerModification.pm @@ -295,6 +295,12 @@ __PACKAGE__->table("borrower_modifications"); data_type: 'longtext' is_nullable: 1 +=head2 relationship + + data_type: 'varchar' + is_nullable: 1 + size: 100 + =head2 sex data_type: 'varchar' @@ -541,6 +547,8 @@ __PACKAGE__->add_columns( { data_type => "mediumtext", is_nullable => 1 }, "borrowernotes", { data_type => "longtext", is_nullable => 1 }, + "relationship", + { data_type => "varchar", is_nullable => 1, size => 100 }, "sex", { data_type => "varchar", is_nullable => 1, size => 1 }, "password", @@ -604,8 +612,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("verification_token", "borrowernumber"); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-05-10 13:50:02 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:u4NyjVB0giKnFLHIjepc8A +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-06-02 17:44:41 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:X1rv5dqhwjIceka8E/MPOA sub koha_object_class { 'Koha::Patron::Modification'; diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm index 2324d81f00..4472c0169b 100644 --- a/Koha/Schema/Result/Deletedborrower.pm +++ b/Koha/Schema/Result/Deletedborrower.pm @@ -360,6 +360,14 @@ used for children to include title (Mr., Mrs., etc) of guarantor a note on the patron/borrower's account that is only visible in the staff interface +=head2 relationship + + data_type: 'varchar' + is_nullable: 1 + size: 100 + +used for children to include the relationship to their guarantor + =head2 sex data_type: 'varchar' @@ -683,6 +691,8 @@ __PACKAGE__->add_columns( { data_type => "mediumtext", is_nullable => 1 }, "borrowernotes", { data_type => "longtext", is_nullable => 1 }, + "relationship", + { data_type => "varchar", is_nullable => 1, size => 100 }, "sex", { data_type => "varchar", is_nullable => 1, size => 1 }, "password", @@ -765,8 +775,8 @@ __PACKAGE__->add_columns( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-05-10 13:50:02 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KIPkFRT1rq+Es9MdeJAvwg +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-06-02 17:44:42 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vlAeJ906TN8tfWvxpvovgg __PACKAGE__->add_columns( '+anonymized' => { is_boolean => 1 }, -- 2.30.1 (Apple Git-130)