From e599572e8dc57fac2fe4682a7e0caab30865d5a4 Mon Sep 17 00:00:00 2001 From: Agustin Moyano Date: Wed, 15 Apr 2020 16:12:16 -0300 Subject: [PATCH] Bug 23816: [DO NOT PUSH] Update category schema Sponsored-by: Northeast Kansas Library - NEKLS --- Koha/Schema/Result/Category.pm | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Category.pm b/Koha/Schema/Result/Category.pm index cfe788ce6f..b76c443855 100644 --- a/Koha/Schema/Result/Category.pm +++ b/Koha/Schema/Result/Category.pm @@ -133,6 +133,16 @@ __PACKAGE__->table("categories"); data_type: 'tinyint' is_nullable: 1 +=head2 min_password_length + + data_type: 'smallint' + is_nullable: 1 + +=head2 require_strong_password + + data_type: 'tinyint' + is_nullable: 1 + =cut __PACKAGE__->add_columns( @@ -189,6 +199,10 @@ __PACKAGE__->add_columns( { data_type => "tinyint", is_nullable => 1 }, "change_password", { data_type => "tinyint", is_nullable => 1 }, + "min_password_length", + { data_type => "smallint", is_nullable => 1 }, + "require_strong_password", + { data_type => "tinyint", is_nullable => 1 }, ); =head1 PRIMARY KEY @@ -266,8 +280,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2019-04-12 02:43:58 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7rwTH9HuxcdRCBP/bj0d/A +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-04-06 15:19:50 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:DDhWUDxS5ALii+Ap2VrnJQ sub koha_object_class { 'Koha::Patron::Category'; -- 2.25.0