Bugzilla – Attachment 148955 Details for
Bug 33368
borrowers.flags is about to reach the limit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33368: DBIC
Bug-33368-DBIC.patch (text/plain), 3.83 KB, created by
Nick Clemens (kidclamp)
on 2023-03-30 08:11:57 UTC
(
hide
)
Description:
Bug 33368: DBIC
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2023-03-30 08:11:57 UTC
Size:
3.83 KB
patch
obsolete
>From 9347b889892b44fafaf99bc18f7b2ef8a5e3f17b Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 30 Mar 2023 10:02:03 +0200 >Subject: [PATCH] Bug 33368: DBIC > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > 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 1f01994cd9..07824db159 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", >@@ -2103,8 +2103,8 @@ Composing rels: L</user_permissions> -> permission > __PACKAGE__->many_to_many("permissions", "user_permissions", "permission"); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-03-06 14:23:57 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/63fcorna7WyO+DyLg8qLA >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-03-30 07:37:27 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wir+5++YaTGZG2teK3DJnA > > __PACKAGE__->has_many( > "restrictions", >diff --git a/Koha/Schema/Result/BorrowerModification.pm b/Koha/Schema/Result/BorrowerModification.pm >index ab974bb3d3..30d8fcc9c7 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-03-30 07:37:27 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/i+eaKTHkS4cdshyqhJKFQ > > sub koha_object_class { > 'Koha::Patron::Modification'; >diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm >index db80faec1d..b19b929e88 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-03-30 07:37:27 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:iO5AIhfRx9dJix/L7JAKyw > > __PACKAGE__->add_columns( > '+anonymized' => { is_boolean => 1 }, >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33368
:
148952
|
148953
|
148954
|
148955
|
149150
|
149151
|
149239
|
149240