|
|
|
@ -59,9 +59,13 @@ class PokerAnalyticsMigration : RealmMigration { |
|
|
|
|
|
|
|
|
|
|
|
schema.get("FilterCondition")?.let { |
|
|
|
schema.get("FilterCondition")?.let { |
|
|
|
it.removeField("blindValues") |
|
|
|
it.removeField("blindValues") |
|
|
|
it.addField("operator", Int::class.java).setNullable("operator", true) |
|
|
|
it.removeField("numericValues") |
|
|
|
it.addField("intValue", Int::class.java).setNullable("intValue", true) |
|
|
|
|
|
|
|
it.addField("doubleValue", Double::class.java).setNullable("intValue", true) |
|
|
|
it.addField("operator", Integer::class.java).setNullable("operator", true) |
|
|
|
|
|
|
|
it.addField("intValue", Integer::class.java).setNullable("intValue", true) |
|
|
|
|
|
|
|
it.addRealmListField("intValues", Integer::class.java).setNullable("intValues", true) |
|
|
|
|
|
|
|
it.addField("doubleValue", Double::class.java).setNullable("doubleValue", true) |
|
|
|
|
|
|
|
it.addRealmListField("doubleValues", Double::class.java).setNullable("doubleValues", true) |
|
|
|
it.addField("stringValue", String::class.java).setNullable("stringValue", true) |
|
|
|
it.addField("stringValue", String::class.java).setNullable("stringValue", true) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|