Commit 38a040a2 authored by Leonardo Aramaki's avatar Leonardo Aramaki

Add back deleteRealmMigrationIfNeeded call

parent 535e32fe
......@@ -17,6 +17,7 @@ public class RealmStore {
.migration(new Migration())
.schemaVersion(5)
// Just in case
.deleteRealmIfMigrationNeeded()
.build();
}
......@@ -48,6 +49,7 @@ public class RealmStore {
sStore.put(name, new RealmConfiguration.Builder()
.name(name + ".realm")
.modules(new RocketChatServerModule())
.deleteRealmIfMigrationNeeded()
.build());
}
return new RealmHelper(sStore.get(name));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment