title: EF 4.3 Migration - how to produce a downgrade script?
body: <p>I have an issue which I could not find answer for across the web.</p>
  
  <p>I am using CodeFirst EF 4.3.1 Migrations with MsSQL.</p>
  
  <p>I have added several migrations and now I want to produce a script for upgrade/downgrade between two migrations.</p>
  
  <p>For upgrade I run the following command which successfully reproduces an upgrade script:</p>
  
  <pre><code>PM&gt; Update-Database -Script -SourceMigration:"201205161144187_AddPostAbstract" -TargetMigration:"201205161203310_BlogLimitsAndTableRename"
  </code></pre>
  
  <p>However, for downgrade I run the following command which fails with the following error:</p>
  
  <pre><code>PM&gt; Update-Database -Script -SourceMigration:"201205161203310_BlogLimitsAndTableRename" -TargetMigration:"201205161144187_AddPostAbstract"
  Scripting the downgrade between two specified migrations is not supported.
  </code></pre>
  
  <p>Any ideas how can I generate a downgrade script?</p>
  
  <p>Thanks.</p>