????3??????????Enable-Migrations
???????????????′???
????Checking if the context targets an existing database...
????Detected database created with a database initializer. Scaffolded migration '201212090821166_InitialCreate' corresponding to existing database. To use an automatic migration instead?? delete the Migrations folder and re-run Enable-Migrations specifying the -EnableAutomaticMigrations parameter.
????Code First Migrations enabled for project MvcApplication1.
???????????????????????У?

??????configuation.cs????????????????
????public Configuration()
????{
????AutomaticMigrationsEnabled = true;
????}
??????????Update-Database??
??????????????max???10????????????????????????????????????????£?
????Specify the '-Verbose' flag to view the SQL statements being applied to the target database.
????No pending code-based migrations.
????Applying automatic migration: 201212090848057_AutomaticMigration.
????Automatic migration was not applied because it would result in data loss.
????????????£??????????????????е?????????
????Enable-Migrations -Force
???????????У?Update-Database

??????????е?????????ж????