update.ps1 484 B

123456789101112
  1. echo ----------------warning:delete_database_table_first----------------
  2. echo ----------------deleting_migrated_files----------------
  3. Remove-Item -Path ".\Migrations" -Recurse
  4. echo ----------------building----------------
  5. dotnet ef migrations add v1.0.0 -s "../YBEE.EQM.Web.Entry" --context DefaultDbContext
  6. echo ----------------updating----------------
  7. dotnet ef database update -s "../YBEE.EQM.Web.Entry" --context DefaultDbContext
  8. echo ----------------finished----------------