From e34ae8e058174e051bdd1ce20a97e545971ac1fe 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 Signed-off-by: Andrew Fuerste-Henry Signed-off-by: Katrin Fischer --- Koha/Schema/Result/Category.pm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Koha/Schema/Result/Category.pm b/Koha/Schema/Result/Category.pm index 16d7a2228c..43fe43df99 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 -- 2.11.0