diff --git a/railway.json b/railway.json index c780d22..3709f70 100644 --- a/railway.json +++ b/railway.json @@ -5,6 +5,7 @@ }, "deploy": { "startCommand": "php artisan serve --host=0.0.0.0 --port=$PORT", + "preDeployCommand": "php artisan migrate --force", "healthcheckPath": "/health", "healthcheckTimeout": 300, "restartPolicyType": "ON_FAILURE",