Files
yakpanel-core/scripts/migrate-dev.sh

13 lines
265 B
Bash
Raw Normal View History

2026-04-07 20:29:49 +05:30
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")/.."
if [[ ! -f .env ]]; then
cp .env.example .env
fi
2026-04-07 20:57:48 +05:30
bash "$(dirname "$0")/ensure-env-ports.sh"
2026-04-07 20:29:49 +05:30
2026-04-07 20:53:04 +05:30
bash "$(dirname "$0")/docker-compose.sh" run --rm db-migrate
2026-04-07 20:29:49 +05:30
echo "YakPanel database migrations applied."