How do I use Entity Framework 5 Code First Migrations to create a full database script from the initial (empty) state to the latest migration?
The blog post at MSDN Blog suggests to do this, but it seems to create an empty script:
Update-Database -Script -SourceMigration: $InitialDatabase
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…