Initial commit: SQL Server 2025 local dev stack
This commit is contained in:
14
scripts/reset.sh
Executable file
14
scripts/reset.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
echo "Stopping & removing container..."
|
||||
docker compose down || true
|
||||
|
||||
echo "Deleting ./data (THIS REMOVES ALL DB DATA)..."
|
||||
rm -rf ./data
|
||||
mkdir -p ./data
|
||||
|
||||
./scripts/start.sh
|
||||
./scripts/seed.sh
|
||||
./scripts/migrate.sh
|
||||
Reference in New Issue
Block a user