From b2172f8063e8ae846ab2247cebd62ab61476dcca Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 29 Nov 2023 15:48:21 +0000 Subject: [PATCH] Bug 35145: (follow-up) Quiet perltidy warnings Signed-off-by: Owen Leonard --- Koha/Schema/Result/BorrowerAttributeType.pm | 4 ++-- .../mysql/atomicupdate/bug_35145_order_patron_attributes.pl | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Koha/Schema/Result/BorrowerAttributeType.pm b/Koha/Schema/Result/BorrowerAttributeType.pm index dbf5383459..c008b1d7b8 100644 --- a/Koha/Schema/Result/BorrowerAttributeType.pm +++ b/Koha/Schema/Result/BorrowerAttributeType.pm @@ -176,8 +176,8 @@ __PACKAGE__->add_columns( { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "mandatory", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, - "number", - { data_type => "int", is_nullable => 1 }, + "number", + { data_type => "int", is_nullable => 1 }, ); =head1 PRIMARY KEY diff --git a/installer/data/mysql/atomicupdate/bug_35145_order_patron_attributes.pl b/installer/data/mysql/atomicupdate/bug_35145_order_patron_attributes.pl index ac5a0520e2..9fe71f2edd 100755 --- a/installer/data/mysql/atomicupdate/bug_35145_order_patron_attributes.pl +++ b/installer/data/mysql/atomicupdate/bug_35145_order_patron_attributes.pl @@ -8,10 +8,12 @@ return { my ( $dbh, $out ) = @$args{qw(dbh out)}; # Do you stuffs here - $dbh->do(q{ + $dbh->do( + q{ ALTER TABLE borrower_attribute_types ADD number int(11); - }); + } + ); # Print useful stuff here # tables -- 2.34.1