diff --git a/app/src/main/java/com/nextcloud/talk/dagger/modules/DatabaseModule.java b/app/src/main/java/com/nextcloud/talk/dagger/modules/DatabaseModule.java index bbe4b772a..c71c1008f 100644 --- a/app/src/main/java/com/nextcloud/talk/dagger/modules/DatabaseModule.java +++ b/app/src/main/java/com/nextcloud/talk/dagger/modules/DatabaseModule.java @@ -41,7 +41,7 @@ import javax.inject.Singleton; @Module public class DatabaseModule { - public static final int DB_VERSION = 7; + public static final int DB_VERSION = 8; @Provides @Singleton @@ -55,7 +55,7 @@ public class DatabaseModule { .toLowerCase() .replace(" ", "_") .trim() - + ".sqlite_off", + + ".sqlite", context.getString(R.string.nc_talk_database_encryption_key), DB_VERSION); }