title: How do I consolidate migrations using EF Core?
body: <p>I have these migrations:</p>
  
  <pre><code>00000000000000_First
  20161101000000_Foo
  20161102000000_Bar
  // ...many many MANY more
  20161108000000_Baz
  </code></pre>
  
  <p>I want to consolidate from <code>Foo</code> to <code>Baz</code> into one new migration. I know how to do that in EF, but not in EF Core.</p>
  
  <p>I tried this:</p>
  
  <pre><code>dotnet ef update database 00000000000000_First
  // delete all other migration classes
  dotnet ef migrations add Consolidated
  dotnet ef update
  </code></pre>
  
  <p>I expect that the new <code>Consolidated</code> migration will contain all changes to the model. But its <code>Up()</code> and <code>Down()</code> methods are empty.</p>
  
  <p>What am I doing wrong?</p>