From 4b8097e9f2c2412e086f87f8bcb5dc2a323a8e04 Mon Sep 17 00:00:00 2001 From: ykiakao Date: Mon, 18 May 2026 23:16:48 -0500 Subject: [PATCH] Run migrations during Railway deploy --- railway.json | 1 + 1 file changed, 1 insertion(+) 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",