From 34fabee3c9d25992fa4fa92d1b87ad488ee52323 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/migrations/29.sqm | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 data/src/main/sqldelight/migrations/29.sqm diff --git a/data/src/main/sqldelight/migrations/29.sqm b/data/src/main/sqldelight/migrations/29.sqm new file mode 100644 index 0000000000..1851b92549 --- /dev/null +++ b/data/src/main/sqldelight/migrations/29.sqm @@ -0,0 +1,4 @@ +-- MangaUpdates score fixing -- +UPDATE manga_sync +SET score = max(score, 0) +WHERE sync_id = 7;