From fc3f7b27469c1370cc9a14f99c3aa37c4eaf33a3 Mon Sep 17 00:00:00 2001 From: zedy Date: Tue, 31 Jan 2023 10:50:21 +0800 Subject: [PATCH] Remove invalid files --- scripts/setup-database.ps1 | 9 --------- scripts/setup-database.sh | 12 ------------ 2 files changed, 21 deletions(-) delete mode 100644 scripts/setup-database.ps1 delete mode 100644 scripts/setup-database.sh diff --git a/scripts/setup-database.ps1 b/scripts/setup-database.ps1 deleted file mode 100644 index 8969760..0000000 --- a/scripts/setup-database.ps1 +++ /dev/null @@ -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 \ No newline at end of file diff --git a/scripts/setup-database.sh b/scripts/setup-database.sh deleted file mode 100644 index abd4e60..0000000 --- a/scripts/setup-database.sh +++ /dev/null @@ -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 \ No newline at end of file