diff --git a/app/src/main/sqldelight/tachiyomi/migrations/14.sqm b/app/src/main/sqldelight/tachiyomi/migrations/14.sqm index 62630939c1..7d4996bdc4 100644 --- a/app/src/main/sqldelight/tachiyomi/migrations/14.sqm +++ b/app/src/main/sqldelight/tachiyomi/migrations/14.sqm @@ -22,8 +22,12 @@ CREATE TABLE manga_sync( ON DELETE CASCADE ); -INSERT INTO manga_sync(_id, manga_id, sync_id, remote_id, library_id, title, last_chapter_read, total_chapters, status, score, remote_url, start_date, finish_date) -SELECT _id, manga_id, sync_id, remote_id, library_id, title, last_chapter_read, total_chapters, status, score, remote_url, start_date, finish_date +INSERT INTO manga_sync + (_id, manga_id, sync_id, remote_id, library_id, title, last_chapter_read, total_chapters, status, score, remote_url, + start_date, finish_date) +SELECT + _id, manga_id, sync_id, remote_id, library_id, title, last_chapter_read, total_chapters, status, score, remote_url, + start_date, finish_date FROM manga_sync_tmp; DROP TABLE manga_sync_tmp; diff --git a/app/src/main/sqldelight/tachiyomi/migrations/17.sqm b/app/src/main/sqldelight/tachiyomi/migrations/17.sqm index caf302d1f6..de7fa26866 100644 --- a/app/src/main/sqldelight/tachiyomi/migrations/17.sqm +++ b/app/src/main/sqldelight/tachiyomi/migrations/17.sqm @@ -38,13 +38,11 @@ CREATE TABLE mangas( update_strategy INTEGER NOT NULL DEFAULT 0 ); INSERT INTO mangas - (_id, source, url, artist, author, description, genre, title, status, thumbnail_url, - favorite, last_update, initialized, viewer, hide_title, chapter_flags, date_added, filtered_scanlators, - update_strategy) + (_id, source, url, artist, author, description, genre, title, status, thumbnail_url, favorite, last_update, + initialized, viewer, hide_title, chapter_flags, date_added, filtered_scanlators, update_strategy) SELECT - _id, source, url, artist, author, description, genre, title, status, thumbnail_url, - favorite, last_update, initialized, viewer, hideTitle, chapter_flags, date_added, filtered_scanlators, - update_strategy + _id, source, url, artist, author, description, genre, title, status, thumbnail_url, favorite, last_update, + initialized, viewer, hideTitle, chapter_flags, date_added, filtered_scanlators, update_strategy FROM mangas_tmp; DROP TABLE mangas_tmp;