From 3a41fc3ebab700d39670dc94027defbfee75633f Mon Sep 17 00:00:00 2001 From: Tuomas Airaksinen Date: Thu, 17 Nov 2022 20:21:20 +0200 Subject: [PATCH] Fix migration --- app/src/main/java/net/bible/service/db/DatabaseContainer.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/net/bible/service/db/DatabaseContainer.kt b/app/src/main/java/net/bible/service/db/DatabaseContainer.kt index 9960f538c7..da5d08ab97 100644 --- a/app/src/main/java/net/bible/service/db/DatabaseContainer.kt +++ b/app/src/main/java/net/bible/service/db/DatabaseContainer.kt @@ -995,9 +995,8 @@ private val MIGRATION_58_59_workspace_colors = object : Migration(58, 59) { colDefs.forEach { execSQL("ALTER TABLE `Workspace` ADD COLUMN $it") execSQL("ALTER TABLE `PageManager` ADD COLUMN $it") - execSQL("UPDATE `Workspace` SET text_display_settings_colors_dayWorkspaceColor = -12303292") - execSQL("UPDATE `Workspace` SET text_display_settings_colors_nightWorkspaceColor = -16777216") } + execSQL("UPDATE `Workspace` SET `text_display_settings_colors_dayWorkspaceColor` = -12303292, `text_display_settings_colors_nightWorkspaceColor` = -16777216") } } }