Initial commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
@echo off
|
||||
echo ========================================
|
||||
echo Checking Database Migrations
|
||||
echo ========================================
|
||||
echo.
|
||||
|
||||
cd ..\src\PowderCoating.Web
|
||||
|
||||
echo Current migrations in project:
|
||||
echo ----------------------------------------
|
||||
dotnet ef migrations list --project ..\PowderCoating.Infrastructure
|
||||
echo.
|
||||
|
||||
echo Database connection info:
|
||||
echo ----------------------------------------
|
||||
dotnet ef dbcontext info --project ..\PowderCoating.Infrastructure
|
||||
echo.
|
||||
|
||||
echo.
|
||||
echo To apply pending migrations, run:
|
||||
echo .\scripts\apply-migrations.bat
|
||||
echo.
|
||||
pause
|
||||
Reference in New Issue
Block a user