[MVC] Code First中Migration的问题

The model backing the 'TimeTrakcingDb' context has changed since the database was created. Consider using Code First Migrations to update the database (http://go.microsoft.com/fwlink/?LinkId=238269).

还是习惯先建立数据库的模式,但是自己写Model会出现这个问题。后去研究。

 

你可能感兴趣的:(migration)