Files
Pf2eDataScrapper/Pf2e/Database/RebuildDatabase.bat
T

10 lines
208 B
Batchfile

@echo off
del /s .\Migrations\Pf2eDbContextModelSnapshot.cs
del /s .\Migrations\*_1.cs
del /s .\Migrations\*_1.Designer.cs
dotnet ef database drop -f
dotnet ef migrations add 1
dotnet ef database update