You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SQL statements in Kitodo-DataManagement/src/main/resources/db/migration/V2_105__Fixes_#3998.sql which were introduced in pull request #4412 don't work on hosts with a filesystem which is case insensitive (macOS, Windows).
An easy workaround is using an intermediate filename:
Replace
ALTER TABLE client_x_listColumn RENAME TO client_x_listcolumn;
by
ALTER TABLE client_x_listColumn RENAME TO renamed_table;
ALTER TABLE renamed_table RENAME TO client_x_listcolumn;
and similarly for all other renames.
To Reproduce
Steps to reproduce the behavior:
Run migration on macOS.
Check names of database tables.
See error
Expected behavior
Database migration must work on macOS and Windows (and Linux with a case insensitive filesystem), too.
Release
All recent releases up to git master.
The text was updated successfully, but these errors were encountered:
If we patch the existing migration script, this will require a flyway:repair for at least some existing installations. Is this acceptable? See related discussion for typo fixes in pull request #6149.
My question is: why this is failing on your system? So far as I know this is working on Windows and if I remember me correct this was working on MacOS too.
Describe the bug
The SQL statements in
Kitodo-DataManagement/src/main/resources/db/migration/V2_105__Fixes_#3998.sql
which were introduced in pull request #4412 don't work on hosts with a filesystem which is case insensitive (macOS, Windows).An easy workaround is using an intermediate filename:
Replace
by
and similarly for all other renames.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Database migration must work on macOS and Windows (and Linux with a case insensitive filesystem), too.
Release
All recent releases up to git master.
The text was updated successfully, but these errors were encountered: