title: Realm not auto-deleting database if migration needed
body: <p>We are in development and db schema changes occur often. Since we are not live, migrations are not needed. I therefor configured Realm as follows:</p>
  
  <pre><code>RealmConfiguration config = new RealmConfiguration.Builder(context)
                  .name("jt.realm")
                  .schemaVersion(1)
                  .deleteRealmIfMigrationNeeded() // todo remove for production
                  .build();
          Realm.setDefaultConfiguration(config);
  </code></pre>
  
  <p>However, when the schema is changed, an exception is thrown: <code>RealmMigration must be provided</code></p>
  
  <p>My understanding from the docs are that the Realm should auto-delete the db since deleteRealmIfMigrationNeeded() is present in the config, but this does not seem to be happening. Why is this occurring?</p>
  
  <p><strong>Android Studio Dependency</strong></p>
  
  <p>compile 'io.realm:realm-android:0.86.1'</p>