Skip to content

Commit

Permalink
Fix migration
Browse files Browse the repository at this point in the history
  • Loading branch information
tuomas2 committed Nov 17, 2022
1 parent 8e672a9 commit 3a41fc3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/src/main/java/net/bible/service/db/DatabaseContainer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}
}
Expand Down

0 comments on commit 3a41fc3

Please sign in to comment.