Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set mypath=%cd%
- PowerShell -Command "& {Start-Process PowerShell -ArgumentList '-File ""%mypath%ResetMigration.ps1""' }"
- ResetMigration.ps1
- Get-ChildItem -Path Get-Location -Include * -File -Recurse | foreach { $_.Delete()}
- dotnet ef database drop
- dotnet ef migrations add Initial
- dotnet ef database update
Add Comment
Please, Sign In to add comment