Bug 34789: (follow-up) Fix atomic update file

Atomic update file had a versioning issue - now changed to be compatible with older versions

Please backport
This commit is contained in:
Matt Blenkinsop 2023-09-19 09:24:04 +00:00 committed by Tomas Cohen Arazi
parent 4e4a4a2d44
commit b593f6b806
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ return {
if ( column_exists( 'erm_eholdings_titles', 'preceeding_publication_title_id' ) ) {
$dbh->do(
q{
ALTER TABLE erm_eholdings_titles RENAME COLUMN preceeding_publication_title_id TO preceding_publication_title_id
ALTER TABLE erm_eholdings_titles CHANGE COLUMN preceeding_publication_title_id preceding_publication_title_id varchar(255) DEFAULT NULL
}
);
say $out 'Column preceeding_publication_title renamed to preceding_publication_title_id';