diff --git a/app/src/main/java/com/nextcloud/talk/data/source/local/Migrations.kt b/app/src/main/java/com/nextcloud/talk/data/source/local/Migrations.kt index e255357cb4..b23e99fd47 100644 --- a/app/src/main/java/com/nextcloud/talk/data/source/local/Migrations.kt +++ b/app/src/main/java/com/nextcloud/talk/data/source/local/Migrations.kt @@ -250,7 +250,7 @@ object Migrations { try { db.execSQL( "ALTER TABLE Conversations " + - "ADD `hasArchived` INTEGER;" + "ADD COLUMN hasArchived INTEGER NOT NULL DEFAULT 0;" ) } catch (e: SQLException) { Log.i("Migrations", "hasArchived already exists")