Merge pull request #508 from peanut250/fix-filter-db-migration-conflict

Fix realm migration for message content filters
This commit is contained in:
octoshrimpy
2025-08-29 11:14:10 -04:00
committed by GitHub
@@ -239,10 +239,6 @@ class QkRealmMigration @Inject constructor(
// Because there was never any property associated with which conversation/recipients a scheduled message was for,
// we can't update this field on a realm migration. It will be set to a default of 0
version++
}
if (version == 11L) {
realm.schema.create("MessageContentFilter")
.addField("id", Long::class.java, FieldAttribute.PRIMARY_KEY, FieldAttribute.REQUIRED)
.addField("value", String::class.java, FieldAttribute.REQUIRED)