From 48ace306a193578e3e83215d3f47e7d0bd0878b7 Mon Sep 17 00:00:00 2001 From: Shamicen Date: Sun, 3 Mar 2024 05:57:50 +0100 Subject: [PATCH] fixed column position in db --- data/src/main/sqldelight/tachiyomi/data/mangas.sq | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/src/main/sqldelight/tachiyomi/data/mangas.sq b/data/src/main/sqldelight/tachiyomi/data/mangas.sq index 5f30cb0f1..859849756 100644 --- a/data/src/main/sqldelight/tachiyomi/data/mangas.sq +++ b/data/src/main/sqldelight/tachiyomi/data/mangas.sq @@ -25,8 +25,8 @@ CREATE TABLE mangas( update_strategy INTEGER AS UpdateStrategy NOT NULL DEFAULT 0, calculate_interval INTEGER DEFAULT 0 NOT NULL, last_modified_at INTEGER NOT NULL DEFAULT 0, - last_modified_at_local INTEGER, - favorite_modified_at INTEGER + favorite_modified_at INTEGER, + last_modified_at_local INTEGER ); CREATE INDEX library_favorite_index ON mangas(favorite) WHERE favorite = 1;