From f058e63b5ae573469ea21777b76b822afd8a3442 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 20 Jul 2020 12:57:00 +0200 Subject: [PATCH] Bug 24379: DBIC schema changes Signed-off-by: Jonathan Druart --- Koha/Schema/Result/Borrower.pm | 8 ++++---- Koha/Schema/Result/Deletedborrower.pm | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm index c750e63f1d..a80a1b851a 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/Koha/Schema/Result/Borrower.pm @@ -430,7 +430,7 @@ __PACKAGE__->table("borrowers"); data_type: 'integer' default_value: 0 - is_nullable: 1 + is_nullable: 0 =head2 overdrive_auth_token @@ -628,7 +628,7 @@ __PACKAGE__->add_columns( size => 25, }, "login_attempts", - { data_type => "integer", default_value => 0, is_nullable => 1 }, + { data_type => "integer", default_value => 0, is_nullable => 0 }, "overdrive_auth_token", { data_type => "mediumtext", is_nullable => 1 }, "anonymized", @@ -1668,8 +1668,8 @@ Composing rels: L -> ordernumber __PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-06-25 08:47:42 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:o+gWN0ND3K07hqLwAoNmMA +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-07-20 10:54:51 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pH5cKJCrjwfiLnk7iCO4tA __PACKAGE__->add_columns( '+anonymized' => { is_boolean => 1 }, diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm index 40c4781849..d091fe98bd 100644 --- a/Koha/Schema/Result/Deletedborrower.pm +++ b/Koha/Schema/Result/Deletedborrower.pm @@ -427,7 +427,7 @@ __PACKAGE__->table("deletedborrowers"); data_type: 'integer' default_value: 0 - is_nullable: 1 + is_nullable: 0 =head2 overdrive_auth_token @@ -613,7 +613,7 @@ __PACKAGE__->add_columns( size => 25, }, "login_attempts", - { data_type => "integer", default_value => 0, is_nullable => 1 }, + { data_type => "integer", default_value => 0, is_nullable => 0 }, "overdrive_auth_token", { data_type => "mediumtext", is_nullable => 1 }, "anonymized", @@ -623,8 +623,8 @@ __PACKAGE__->add_columns( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-06-25 08:47:42 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:U9fb5L4QQFa/EapOma9O7g +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-07-20 10:54:51 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4xYIkJhZWN+O/s8cMYbJmw __PACKAGE__->add_columns( '+anonymized' => { is_boolean => 1 }, -- 2.39.5