From 1be25ee4397916dc929a6838c636caa541c3c1e1 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 Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart --- 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 c714a6dce1..6807a20e0c 100644 --- a/Koha/Schema/Result/Category.pm +++ b/Koha/Schema/Result/Category.pm @@ -138,6 +138,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( @@ -196,6 +206,10 @@ __PACKAGE__->add_columns( { data_type => "tinyint", is_nullable => 1 }, "exclude_from_local_holds_priority", { 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 @@ -288,8 +302,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-07-22 17:36:24 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:p5Jzm0gHhk42fcLikwUnWw +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-09-02 12:50:50 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JOzFLxLwouaTl5dQJrOdZA __PACKAGE__->add_columns( '+exclude_from_local_holds_priority' => { is_boolean => 1 }, -- 2.39.5