Added migration commands

This commit is contained in:
tsommer committed 2022-06-12 17:14:21 +02:00
1 parent d06cca1ce3
commit 96c34e2947
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%