Make accountType optional

This commit is contained in:
Moez Bhatti
2019-11-24 02:14:55 -05:00
parent 5affd60b03
commit 3d5febf01c
2 changed files with 2 additions and 2 deletions
@@ -136,7 +136,7 @@ class QkRealmMigration @Inject constructor(
realm.schema.get("PhoneNumber")
?.addField("id", Long::class.java, FieldAttribute.PRIMARY_KEY, FieldAttribute.REQUIRED)
?.addField("accountType", String::class.java, FieldAttribute.REQUIRED)
?.addField("accountType", String::class.java)
?.addField("isDefault", Boolean::class.java, FieldAttribute.REQUIRED)
val phoneNumbers = cursorToContact.getContactsCursor()