From 7a0de31b0a57b22255c7805de911c272e9ed3553 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joonas=20Kylm=C3=A4l=C3=A4?= Date: Mon, 7 Jun 2021 05:30:35 +0000 Subject: [PATCH] Bug 28490: Add DBIx schema changes for testing Signed-off-by: Petro Vashchuk Signed-off-by: Emmi Takkinen Signed-off-by: Nick Clemens Signed-off-by: Jonathan Druart --- 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..89529d93c0 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-07 05:28:03 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CgLzd4URQdNSXTgd7QnFFg __PACKAGE__->add_columns( '+anonymized' => { is_boolean => 1 }, diff --git a/Koha/Schema/Result/BorrowerModification.pm b/Koha/Schema/Result/BorrowerModification.pm index bab6c8fbdf..d2c4485495 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-07 05:28:03 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JZ6vS5nH8EPc0OL3LQRG+Q sub koha_object_class { 'Koha::Patron::Modification'; diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm index 2324d81f00..195b23eb2b 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-07 05:28:04 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/9VjUuilKGDwV/pLlf/4ew __PACKAGE__->add_columns( '+anonymized' => { is_boolean => 1 }, -- 2.39.5