From 196db80278a657bdb8dcd066d0e0707a6da2aa19 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 6 Apr 2023 12:47:26 -0300 Subject: [PATCH] Bug 33368: DBIC schema Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 26120079a5380f13676648fc52f341da798f0804) Signed-off-by: Jacob O'Mara --- Koha/Schema/Result/Borrower.pm | 8 ++++---- Koha/Schema/Result/BorrowerModification.pm | 8 ++++---- Koha/Schema/Result/Deletedborrower.pm | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm index c8f4f32dd2..92eba9fbf6 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/Koha/Schema/Result/Borrower.pm @@ -426,7 +426,7 @@ Authentication method =head2 flags - data_type: 'integer' + data_type: 'bigint' is_nullable: 1 will include a number associated with the staff member's permissions @@ -774,7 +774,7 @@ __PACKAGE__->add_columns( is_nullable => 0, }, "flags", - { data_type => "integer", is_nullable => 1 }, + { data_type => "bigint", is_nullable => 1 }, "userid", { data_type => "varchar", is_nullable => 1, size => 75 }, "opacnote", @@ -2058,8 +2058,8 @@ Composing rels: L -> permission __PACKAGE__->many_to_many("permissions", "user_permissions", "permission"); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-11-10 17:43:30 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5hh2lGCcKclyTnY7KNPkvg +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-04-06 15:46:57 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:f6omVb7EtiysdaWTX3IRzg __PACKAGE__->has_many( "restrictions", diff --git a/Koha/Schema/Result/BorrowerModification.pm b/Koha/Schema/Result/BorrowerModification.pm index ab974bb3d3..4e58afdbd8 100644 --- a/Koha/Schema/Result/BorrowerModification.pm +++ b/Koha/Schema/Result/BorrowerModification.pm @@ -327,7 +327,7 @@ patron/borrower's middle name =head2 flags - data_type: 'integer' + data_type: 'bigint' is_nullable: 1 =head2 userid @@ -578,7 +578,7 @@ __PACKAGE__->add_columns( "password", { data_type => "varchar", is_nullable => 1, size => 30 }, "flags", - { data_type => "integer", is_nullable => 1 }, + { data_type => "bigint", is_nullable => 1 }, "userid", { data_type => "varchar", is_nullable => 1, size => 75 }, "opacnote", @@ -638,8 +638,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("verification_token", "borrowernumber"); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-10-03 18:03:21 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:NsjvIPMgGDCa0LZQc157Ww +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-04-06 15:46:57 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TzG6Q5PymhBXCVxJi3C/sA sub koha_object_class { 'Koha::Patron::Modification'; diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm index db80faec1d..86fd6b190d 100644 --- a/Koha/Schema/Result/Deletedborrower.pm +++ b/Koha/Schema/Result/Deletedborrower.pm @@ -424,7 +424,7 @@ Authentication method =head2 flags - data_type: 'integer' + data_type: 'bigint' is_nullable: 1 will include a number associated with the staff member's permissions @@ -759,7 +759,7 @@ __PACKAGE__->add_columns( is_nullable => 0, }, "flags", - { data_type => "integer", is_nullable => 1 }, + { data_type => "bigint", is_nullable => 1 }, "userid", { data_type => "varchar", is_nullable => 1, size => 75 }, "opacnote", @@ -838,8 +838,8 @@ __PACKAGE__->add_columns( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-10-03 18:03:21 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OKIbF7K2KWpEJGbFbetD0w +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-04-06 15:46:58 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:dqGu9iDgO+u09l9X1G0NuA __PACKAGE__->add_columns( '+anonymized' => { is_boolean => 1 }, -- 2.39.2