From d48f0e779f368e95f3b8d4b81950942238f773d5 Mon Sep 17 00:00:00 2001 From: Mark Rapson Date: Sat, 25 Jul 2026 17:27:25 +0100 Subject: [PATCH] Backfill slide thumbnail migration --- src/db/migrations.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/db/migrations.js b/src/db/migrations.js index 734224a..547a5ab 100644 --- a/src/db/migrations.js +++ b/src/db/migrations.js @@ -732,6 +732,15 @@ const migrations = [ await addColumnIfMissing(pool, 'playlists', 'skip_unavailable_rtmp', 'TINYINT(1) NOT NULL DEFAULT 0'); } }, + { + key: 'slides-thumbnail-path-column', + version: appVersion, + comment: 'Backfill the slides.thumbnail_path column for databases that already recorded the broader schema migration.', + order: 22, + up: async function (pool) { + await addColumnIfMissing(pool, 'slides', 'thumbnail_path', 'VARCHAR(512) NULL'); + } + }, { key: 'media-path-prefix-rename', version: appVersion,