EF Migration object already exists error
<p>I am working on an ASP.NET MVC project with Entity Framework with code first from database. I get the models for each table in the database. I made some changes in the models, enabled migrations and when I initial the migration I get an error:</p>

<blockquote>
  <p>There is already an object named 'TableName' in the database."</p>
</blockquote>

<p>I tried with <code>update-database -force</code> but didn't help. The initial migration creates the tables that already exist!</p>

<p>How to make the initial migration apply the changes on the models and not create the tables from beginning?</p>

<p>And what is the best practice to sync changes between database and models in this case?</p>