From 65bea6716881b328ce7d22bf16c63bb2f38049ce Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Wed, 5 Jun 2024 22:12:29 +0000 Subject: [PATCH] Bug 35635: DO NOT PUSH - Schema updates Signed-off-by: Brendan Lawlor Signed-off-by: Jonathan Druart --- Koha/Schema/Result/BorrowerAttributeType.pm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Koha/Schema/Result/BorrowerAttributeType.pm b/Koha/Schema/Result/BorrowerAttributeType.pm index d5d4b9e31d5..0d8603cf53e 100644 --- a/Koha/Schema/Result/BorrowerAttributeType.pm +++ b/Koha/Schema/Result/BorrowerAttributeType.pm @@ -143,7 +143,15 @@ defines if this field is copied to anonymized_borrower_attributes (1 for yes, 0 default_value: 0 is_nullable: 0 -defines if the attribute is mandatory or not +defines if the attribute is mandatory or not on the staff client + +=head2 opac_mandatory + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + +defines if the attribute is mandatory or not on the OPAC =cut @@ -178,6 +186,8 @@ __PACKAGE__->add_columns( { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "mandatory", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "opac_mandatory", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, ); =head1 PRIMARY KEY -- 2.34.1