From 105e3c9ce04d2958d9e0749c579f73fece94d641 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 17 Sep 2019 20:21:28 +0000 Subject: [PATCH] Bug 23309: DBRev 18.11.09.002 Signed-off-by: Lucas Gass --- installer/data/mysql/updatedatabase.pl | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index dfb333aca5..515305ae60 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -17535,6 +17535,17 @@ if( CheckVersion( $DBversion ) ) { print "Upgrade to $DBversion done (Bug 22524 - Fix date/time-last-modified search with Elasticsearch)\n"; } +$DBversion = '18.11.09.002'; +if( CheckVersion( $DBversion ) ) { + + $dbh->do(q| + ALTER TABLE marc_subfield_structure CHANGE COLUMN hidden hidden TINYINT(1) DEFAULT 8 NOT NULL; + |); + # Always end with this (adjust the bug info) + SetVersion( $DBversion ); + print "Upgrade to $DBversion done (Bug 23309 - Can't add new subfields to bibliographic frameworks in strict mode)\n"; +} + # SEE bug 13068 # if there is anything in the atomicupdate, read and execute it. -- 2.39.2