From 6fb93f04dbdf6f74ea9057955e457307ebfa73d6 Mon Sep 17 00:00:00 2001 From: ykiakao Date: Mon, 18 May 2026 23:42:20 -0500 Subject: [PATCH] fix start command --- railway.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/railway.json b/railway.json index c780d22..a91c9a0 100644 --- a/railway.json +++ b/railway.json @@ -4,7 +4,7 @@ "builder": "RAILPACK" }, "deploy": { - "startCommand": "php artisan serve --host=0.0.0.0 --port=$PORT", + "startCommand": "php artisan migrate --force && php artisan serve --host=0.0.0.0 --port=${PORT:-8000}", "healthcheckPath": "/health", "healthcheckTimeout": 300, "restartPolicyType": "ON_FAILURE",