Update bug waiting laravel

This commit is contained in:
servdal
2025-07-17 08:13:00 +07:00
parent 8289968849
commit 9437483030
7 changed files with 65 additions and 26 deletions
-5
View File
@@ -1,10 +1,5 @@
#!/bin/bash
# Tunggu database siap
until php artisan migrate:status > /dev/null 2>&1; do
echo "Waiting for database to be ready..."
sleep 3
done
# Cek apakah migration sudah pernah dijalankan
if php artisan migrate:status | grep -q "| Y"; then