mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-15 10:38:53 +01:00
Combine content filter and scheduled message field updates on realm migration
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user