From 502d661ee264294afa119257015a285b75cc1c9c Mon Sep 17 00:00:00 2001 From: James Ward Date: Mon, 21 Sep 2026 10:50:21 -0400 Subject: [PATCH] fix(db): add repair callback to clean up booklore 2.3.1 migrations (#2722) --- .../migration/beforeRepair__cleanUpBookloreMigrations.sql | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 backend/src/main/resources/db/migration/beforeRepair__cleanUpBookloreMigrations.sql diff --git a/backend/src/main/resources/db/migration/beforeRepair__cleanUpBookloreMigrations.sql b/backend/src/main/resources/db/migration/beforeRepair__cleanUpBookloreMigrations.sql new file mode 100644 index 000000000..ab9cf9c28 --- /dev/null +++ b/backend/src/main/resources/db/migration/beforeRepair__cleanUpBookloreMigrations.sql @@ -0,0 +1,6 @@ +-- Booklore 2.3.1 introduces a migration that doesn't actually +-- change the schema but does break Flyway compatibility. +DELETE FROM flyway_schema_history +WHERE version = '133' + AND script = 'V133__Add_open_library_provider_setting.sql' + AND checksum = -1017223737; \ No newline at end of file