EF Migrations for Database-first approach?

Shaddix picture Shaddix · Feb 13, 2012 · Viewed 22.3k times · Source

We're using Database first approach with EntityFramework. We've several customers, and when we deploy new product version, we're now applying DB schema changes "manually" with tools like SQL Compare.

Is there a way how EF Migrations could help to apply changes to customers DB automatically?

Answer

Paul picture Paul · Feb 13, 2012

As far as I know, EF Migrations is a product targeted at CodeFirst and doesn't support Database First operations.

CodeFirst assumes that you will never make any changes manually to the database. All the changes to the database will go through the code first migrations.