title: Use default values for new properties in Realm migration
body: <p>My Realm data model has a <code>User</code> class and I added a new property to it:</p>
  
  <pre><code>dynamic var useImages: Bool = true
  </code></pre>
  
  <p>I didn't do anything in the migration block:</p>
  
  <pre><code>if oldSchemaVersion &lt; 1 {
  }
  </code></pre>
  
  <p>Now I expected that after the migration each old <code>User</code> object would have a new <code>useImages</code> property <strong>already set to <code>true</code></strong> (the default value). But the <code>useImages</code> property is set to <code>false</code> after the migration.</p>
  
  <p>Is that supposed to happen?</p>
  
  <p>If so, is there an easy way to have Realm use the default values for new properties when migrating databases? Or do I have to do it in the migration block for every new property one by one: </p>
  
  <pre><code>newObject!["useImages"] = true
  </code></pre>
  
  <p>That seems silly. Is there a better way?</p>