Added migration commands
This commit is contained in:
parent
d06cca1ce3
commit
96c34e2947
4
I18N Commander/DataModel/cmdAddMigration.cmd
Normal file
4
I18N Commander/DataModel/cmdAddMigration.cmd
Normal file
@ -0,0 +1,4 @@
|
||||
@echo off
|
||||
set /p migrationName="Please enter the new migration's name: "
|
||||
dotnet tool update --global dotnet-ef
|
||||
dotnet ef migrations add %migrationName%
|
4
I18N Commander/DataModel/cmdUndoMigration.cmd
Normal file
4
I18N Commander/DataModel/cmdUndoMigration.cmd
Normal file
@ -0,0 +1,4 @@
|
||||
@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%
|
Loading…
Reference in New Issue
Block a user