From e98acb2cb8079430c8aef56b4213aa0ea3804d10 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 21 Mar 2017 17:21:07 -0300 Subject: [PATCH] Bug 18314: DBIC schema changes --- 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 547028f..a5b6f96 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 }, ); @@ -1341,8 +1349,8 @@ Composing rels: L -> ordernumber __PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-02-10 07:30:06 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:35WEsGd5LmkZ3bB486M1yA +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-03-21 21:31:17 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kFs7zUpXtFykNLSzJGqK2w __PACKAGE__->belongs_to( "guarantor", diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm index 778705e..53e00e2 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-03-21 21:31:17 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pxrfp28yti/oX3c1tysloA # You can replace this text with custom code or comments, and it will be preserved on regeneration -- 2.9.3