From ec0ed1f12c0c129f94d28bb1953d79d5ea28315a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 28 Apr 2017 17:14:25 -0300 Subject: [PATCH] Bug 18314: DBIC schema changes Signed-off-by: Nick Clemens --- Koha/Schema/Result/Borrower.pm | 12 ++++++++++-- Koha/Schema/Result/Deletedborrower.pm | 12 ++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm index 26cdef9..cf942ae 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/Koha/Schema/Result/Borrower.pm @@ -427,6 +427,12 @@ __PACKAGE__->table("borrowers"); datetime_undef_if_invalid: 1 is_nullable: 1 +=head2 login_attempts + + data_type: 'integer' + default_value: 0 + is_nullable: 1 + =head2 overdrive_auth_token data_type: 'text' @@ -621,6 +627,8 @@ __PACKAGE__->add_columns( datetime_undef_if_invalid => 1, is_nullable => 1, }, + "login_attempts", + { data_type => "integer", default_value => 0, is_nullable => 1 }, "overdrive_auth_token", { data_type => "text", is_nullable => 1 }, ); @@ -1356,8 +1364,8 @@ Composing rels: L -> ordernumber __PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-04-26 16:17:25 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Qq3fmJ73x8Qv+Pqbs7zkow +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-04-22 08:37:27 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wXk5/OMGFwBFwmVoj0kMsg __PACKAGE__->belongs_to( "guarantor", diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm index 778705e..eb91de8 100644 --- a/Koha/Schema/Result/Deletedborrower.pm +++ b/Koha/Schema/Result/Deletedborrower.pm @@ -424,6 +424,12 @@ __PACKAGE__->table("deletedborrowers"); datetime_undef_if_invalid: 1 is_nullable: 1 +=head2 login_attempts + + data_type: 'integer' + default_value: 0 + is_nullable: 1 + =head2 overdrive_auth_token data_type: 'text' @@ -606,13 +612,15 @@ __PACKAGE__->add_columns( datetime_undef_if_invalid => 1, is_nullable => 1, }, + "login_attempts", + { data_type => "integer", default_value => 0, is_nullable => 1 }, "overdrive_auth_token", { data_type => "text", is_nullable => 1 }, ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-02-10 07:30:06 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:tq4JDUSFKuU5K69TTVSkVg +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-04-22 08:37:28 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:l/UsLwa5KW7h37vchJoUYA # You can replace this text with custom code or comments, and it will be preserved on regeneration -- 2.1.4