Added migration commands
This commit is contained in:
2 files changed
+8
No files matched your search
@@ -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%
|
||||||
@@ -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%
|
||||||
Reference in new issue
Block a user