new changes
This commit is contained in:
11
scripts/migrate-dev.sh
Normal file
11
scripts/migrate-dev.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
if [[ ! -f .env ]]; then
|
||||
cp .env.example .env
|
||||
fi
|
||||
|
||||
docker compose --env-file .env -f docker-compose.yakpanel.yml run --rm db-migrate
|
||||
echo "YakPanel database migrations applied."
|
||||
Reference in New Issue
Block a user