1. Add-Migration 新建数据库迁移版本
  2. Update-Database -Verbose 更新到数据库(-Verbose 显示详细信息)
  3. Update-Database –TargetMigration [指定版本名称] -force 迁移到指定版本

相关文章: