title: Possible to default DateTime field to GETDATE() with Entity Framework Migrations?
body: <p>I added EntityFramework.Migrations (Beta 1) to an existing Code-First app that is going through some changes (for both migration capabilities and more fine-tuning of the tables I am generating from my code-first API) and ran into the GETDATE() scenario. </p>
  
  <p>I was already using a custom initializer class in my DbContext to run SQL scripts to set some fields and create indexes in my database. A handful of my AlterTable scripts are primary just to setup fields with default values(such as certain DateTime fields being set to GETDATE()). I was really hoping EntityFramework.Migrations would have an answer for this since you can easily specify defaultValue, but so far I'm not seeing one.</p>
  
  <p>Any ideas? I was really hoping that doing the following would magically work. (It is 'magic unicorn', after all)</p>
  
  <pre><code>DateCreated = c.DateTime(nullable: false, defaultValue: DateTime.Now)
  </code></pre>
  
  <p>Unfortunately, and logically, it set my default value to the time when the <code>Update-Database</code> command was executed.</p>