From e61c657c638c83a35a5b8f724c63641220ead0c8 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 10 May 2021 15:50:23 +0200 Subject: [PATCH] Bug 26995: DBIC schema changes Signed-off-by: Jonathan Druart 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, 6 insertions(+), 34 deletions(-) diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm index a9ff404569..0c342305f1 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/Koha/Schema/Result/Borrower.pm @@ -362,14 +362,6 @@ 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' @@ -706,8 +698,6 @@ __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", @@ -1865,8 +1855,8 @@ Composing rels: L -> ordernumber __PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Q9AXeEJckLl7CX6E40DUBw +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-05-10 13:50:02 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:mrHF9QG7qY32EnjukdNZRw __PACKAGE__->add_columns( '+anonymized' => { is_boolean => 1 }, diff --git a/Koha/Schema/Result/BorrowerModification.pm b/Koha/Schema/Result/BorrowerModification.pm index 21046fbf79..bab6c8fbdf 100644 --- a/Koha/Schema/Result/BorrowerModification.pm +++ b/Koha/Schema/Result/BorrowerModification.pm @@ -295,12 +295,6 @@ __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' @@ -547,8 +541,6 @@ __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", @@ -612,8 +604,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("verification_token", "borrowernumber"); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:be+U0NZYRzthZMeOPcg0jA +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-05-10 13:50:02 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:u4NyjVB0giKnFLHIjepc8A sub koha_object_class { 'Koha::Patron::Modification'; diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm index e13547e499..2324d81f00 100644 --- a/Koha/Schema/Result/Deletedborrower.pm +++ b/Koha/Schema/Result/Deletedborrower.pm @@ -360,14 +360,6 @@ 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' @@ -691,8 +683,6 @@ __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", @@ -775,8 +765,8 @@ __PACKAGE__->add_columns( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZVKapg14KPBMzgnIkXJnig +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-05-10 13:50:02 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KIPkFRT1rq+Es9MdeJAvwg __PACKAGE__->add_columns( '+anonymized' => { is_boolean => 1 }, -- 2.39.5