Remove invalid files

This commit is contained in:
zedy
2023-01-31 10:50:21 +08:00
parent 9a13af426b
commit fc3f7b2746
2 changed files with 0 additions and 21 deletions

View File

@@ -1,9 +0,0 @@
# Default to current directory
$FOLDER_PATH = [string](Get-Location)
# Before setting up your database, make sure of two things:
# 1. Ensure your connection strings in appsettings.json point to a local SQL Server instance.
# 2. Ensure the tool EF was already installed.
dotnet tool update --global dotnet-ef
dotnet ef database update -c catalogcontext -p $FOLDER_PATH/src/Infrastructure/Infrastructure.csproj -s $FOLDER_PATH/src/Web/Web.csproj
dotnet ef database update -c appidentitydbcontext -p $FOLDER_PATH/src/Infrastructure/Infrastructure.csproj -s $FOLDER_PATH/src/Web/Web.csproj

View File

@@ -1,12 +0,0 @@
#!/bin/bash
# Default to current directory
FOLDER_PATH=$(pwd)
# Before setting up your database, make sure of two things:
# 1. Ensure your connection strings in appsettings.json point to a local SQL Server instance.
# 2. Ensure the tool EF was already installed.
dotnet tool update --global dotnet-ef
dotnet ef database update -c catalogcontext -p $FOLDER_PATH/src/Infrastructure/Infrastructure.csproj -s $FOLDER_PATH/src/Web/Web.csproj
dotnet ef database update -c appidentitydbcontext -p $FOLDER_PATH/src/Infrastructure/Infrastructure.csproj -s $FOLDER_PATH/src/Web/Web.csproj