Bug 22844: Add is_boolean flag for new 'mandatory' column

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2020-02-03 14:50:28 +01:00
parent 06a7f48678
commit f23a4cdda9
1 changed files with 4 additions and 0 deletions

View File

@ -192,6 +192,10 @@ __PACKAGE__->add_columns(
'+keep_for_pseudonymization' => { is_boolean => 1 },
);
__PACKAGE__->add_columns(
'+mandatory' => { is_boolean => 1 },
);
sub koha_object_class {
'Koha::Patron::Attribute::Type';
}