From d6456dac9405275a970c18862d989cc01ecda1e8 Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 15 Oct 2020 01:02:59 +0000 Subject: [PATCH] Bug 26684: Remove marc column from existing databases --- .../atomicupdate/001-26684-drop_marc_column_from_auth_header.perl | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 installer/data/mysql/atomicupdate/001-26684-drop_marc_column_from_auth_header.perl diff --git a/installer/data/mysql/atomicupdate/001-26684-drop_marc_column_from_auth_header.perl b/installer/data/mysql/atomicupdate/001-26684-drop_marc_column_from_auth_header.perl new file mode 100755 index 0000000000..7dd8148208 --- /dev/null +++ b/installer/data/mysql/atomicupdate/001-26684-drop_marc_column_from_auth_header.perl @@ -0,0 +1,6 @@ +$DBversion = 'XXX'; # will be replaced by the RM +if( CheckVersion( $DBversion ) ) { + $dbh->do( "ALTER TABLE auth_header DROP COLUMN marc" ); + + NewVersion( $DBversion, XXXXX, "Drop marc column from auth_header"); +} -- 2.11.0