From 97aa23c7f348b48952d253f35a198b353ecc7fba Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 17 May 2023 09:59:44 -0300 Subject: [PATCH] Bug 33489: (QA follow-up) Add missing index prefix in DBRev Signed-off-by: Tomas Cohen Arazi (cherry picked from commit c69b7c69ca8adf543577aa0f817b1df8e9ef0648) Signed-off-by: Matt Blenkinsop --- installer/data/mysql/db_revs/221105010.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/data/mysql/db_revs/221105010.pl b/installer/data/mysql/db_revs/221105010.pl index 3026eb5458..142b644e9c 100755 --- a/installer/data/mysql/db_revs/221105010.pl +++ b/installer/data/mysql/db_revs/221105010.pl @@ -16,7 +16,7 @@ return { say $out "Added new index on borrowers.userid"; } unless ( index_exists( 'borrowers', 'middle_name_idx' ) ) { - $dbh->do(q{CREATE INDEX middle_name_idx ON borrowers ( middle_name )}); + $dbh->do(q{CREATE INDEX middle_name_idx ON borrowers ( middle_name(768) )}); say $out "Added new index on borrowers.midddle_name"; } }, -- 2.39.5