I18NCommander/I18N Commander/DataModel/cmdUndoMigration.cmd

5 lines
188 B
Batchfile

@echo off
set /p migrationName="Please enter the migration's name which should be the **ACTIVE** one: "
dotnet tool update --global dotnet-ef
dotnet ef database update %migrationName%