title: Creating a new db if the scheme changed
body: <p>How do I create a new realm database if the current fails?<br>I read somewhere its possible with new versions of realm but i didnt find anything.</p>
  
  <pre><code>let documentsDirectory = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true).first!
  let realmPath = "\(documentsDirectory)/db.realm"
  let url = URL(string: realmPath)
  let config = Realm.Configuration(fileURL: url, readOnly: false, schemaVersion: 1, migrationBlock: nil, objectTypes: nil)
  Realm.Configuration.defaultConfiguration = config
  </code></pre>