title: How to re-migrate already Migrated dbcontext in EF
body: <p>I have a project call RemoteWork where i have my Dbcontext. I have 2 models inside the DbContext - USER and PRODUCTS. I was using code first approach. I then used the &quot;add-migration&quot; and it was successful. I then referenced the Remotework in another project call Apiclient. They are both in the same solution. Now I have altered my table in USER and so it was out of sync. I wanted to make it to be in sync. I have tried different methods i have read online, I was getting different error messages. Can anyone please help in this regard.</p>
  <p>I have done this:  Add-Migration SecondMigration</p>
  <p>This is the error message:</p>
  <blockquote>
  <p>No DbContext was found in assembly 'AppClient'. Ensure that you're using the correct assembly and that the type is neither abstract nor generic.</p>
  </blockquote>
  <p>Please note that AppClient was made as the startup project. I have also tried making remotework as a start up project, it did not resolve it either:</p>
  <blockquote>
  <p><code>PM&gt; Add-Migration SecondMigration</code></p>
  </blockquote>
  <blockquote>
  <p>No DbContext was found in assembly 'AppClient'. Ensure that you're using the correct assembly and that the type is neither abstract nor generic.</p>
  </blockquote>
  <blockquote>
  <p><code>PM&gt; Add-Migration -Name MyMigration -OutputDir MyMigrationDir -Context BettingDbContext -Project RemoteWork -StartupProject AppClient</code></p>
  </blockquote>
  <p>I wanted the models to be in sync with my database</p>