#!/bin/bash cd /var/www/webmoney # Check if tables exist echo "=== Checking tables ===" mysql -u webmoney -p'M@ster9354' webmoney -e "SHOW TABLES LIKE '%service%';" # Run migrations echo "=== Running migrations ===" php artisan migrate --force # Clear caches echo "=== Clearing caches ===" php artisan config:clear php artisan cache:clear php artisan route:clear echo "=== Done ==="