From ded8c99ce28b4ca404e91d8a79241c6d3c106975 Mon Sep 17 00:00:00 2001 From: Cody Henthorne Date: Thu, 16 Oct 2025 16:20:15 -0400 Subject: [PATCH] Attempt to fix sqlexception in migrations. --- .../helpers/migration/V293_LastResortKeyTupleTableMigration.kt | 2 +- .../V294_RemoveLastResortKeyTupleColumnConstraintMigration.kt | 2 +- .../V295_AddLastRestoreKeyTypeTableIfMissingMigration.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/database/helpers/migration/V293_LastResortKeyTupleTableMigration.kt b/app/src/main/java/org/thoughtcrime/securesms/database/helpers/migration/V293_LastResortKeyTupleTableMigration.kt index 621bc267f0..84867bf1e8 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/database/helpers/migration/V293_LastResortKeyTupleTableMigration.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/database/helpers/migration/V293_LastResortKeyTupleTableMigration.kt @@ -23,7 +23,7 @@ object V293_LastResortKeyTupleTableMigration : SignalDatabaseMigration { public_key BLOB NOT NULL, UNIQUE(kyber_prekey_id, signed_key_id, public_key) ) - """.trimIndent() + """ ) } } diff --git a/app/src/main/java/org/thoughtcrime/securesms/database/helpers/migration/V294_RemoveLastResortKeyTupleColumnConstraintMigration.kt b/app/src/main/java/org/thoughtcrime/securesms/database/helpers/migration/V294_RemoveLastResortKeyTupleColumnConstraintMigration.kt index 966f729f82..1792db9fb4 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/database/helpers/migration/V294_RemoveLastResortKeyTupleColumnConstraintMigration.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/database/helpers/migration/V294_RemoveLastResortKeyTupleColumnConstraintMigration.kt @@ -25,7 +25,7 @@ object V294_RemoveLastResortKeyTupleColumnConstraintMigration : SignalDatabaseMi public_key BLOB NOT NULL, UNIQUE(kyber_prekey_id, signed_key_id, public_key) ) - """.trimIndent() + """ ) } } diff --git a/app/src/main/java/org/thoughtcrime/securesms/database/helpers/migration/V295_AddLastRestoreKeyTypeTableIfMissingMigration.kt b/app/src/main/java/org/thoughtcrime/securesms/database/helpers/migration/V295_AddLastRestoreKeyTypeTableIfMissingMigration.kt index 726bb9beff..3472347415 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/database/helpers/migration/V295_AddLastRestoreKeyTypeTableIfMissingMigration.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/database/helpers/migration/V295_AddLastRestoreKeyTypeTableIfMissingMigration.kt @@ -23,7 +23,7 @@ object V295_AddLastRestoreKeyTypeTableIfMissingMigration : SignalDatabaseMigrati public_key BLOB NOT NULL, UNIQUE(kyber_prekey_id, signed_key_id, public_key) ) - """.trimIndent() + """ ) } }