From a024218410953a389b8af4880fa7ae6cc30124a2 Mon Sep 17 00:00:00 2001 From: AntsyLich <59261191+AntsyLich@users.noreply.github.com> Date: Sun, 21 Jan 2024 12:21:30 +0600 Subject: [PATCH] Fix faulty MangaUpdates score in db Closes #117 --- data/src/main/sqldelight/tachiyomi/migrations/1.sqm | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 data/src/main/sqldelight/tachiyomi/migrations/1.sqm diff --git a/data/src/main/sqldelight/tachiyomi/migrations/1.sqm b/data/src/main/sqldelight/tachiyomi/migrations/1.sqm new file mode 100644 index 000000000..1851b9254 --- /dev/null +++ b/data/src/main/sqldelight/tachiyomi/migrations/1.sqm @@ -0,0 +1,4 @@ +-- MangaUpdates score fixing -- +UPDATE manga_sync +SET score = max(score, 0) +WHERE sync_id = 7;