From 1808a9ec2a4b5d6dde4aff4468266baafe2f2903 Mon Sep 17 00:00:00 2001 From: Hammat Wele Date: Wed, 14 Aug 2024 19:58:04 +0000 Subject: [PATCH] Bug 35145: Schema file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Anneli Österman --- Koha/Schema/Result/BorrowerAttributeType.pm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Koha/Schema/Result/BorrowerAttributeType.pm b/Koha/Schema/Result/BorrowerAttributeType.pm index d5d4b9e31d..5e572a4e67 100644 --- a/Koha/Schema/Result/BorrowerAttributeType.pm +++ b/Koha/Schema/Result/BorrowerAttributeType.pm @@ -145,6 +145,14 @@ defines if this field is copied to anonymized_borrower_attributes (1 for yes, 0 defines if the attribute is mandatory or not +=head2 display_order + + data_type: 'integer' + default_value: NULL + is_nullable: 1 + + the order in which this attribute type appears in patron form + =cut __PACKAGE__->add_columns( @@ -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 }, + "display_order", + { data_type => "integer", is_nullable => 1 }, ); =head1 PRIMARY KEY -- 2.43.0