I don't understand how to fix the problem, about the deploy

rodrijokTRIAL

7 months ago

I have a project in Laravel, which can run migrations locally. But it turns out that when deploying and using the database provided by Railway, I get this problem all the time

It already provides checking the env credentials, I tried creating the tables in the Railway database, and many other things, but I am unable to do the migration that I configured in the deployment script.

I've actually been trying to solve this problem for more than 5 days, and I can't find a solution. Any help or details (more than what the doc provides) are greatly appreciated.

SQLSTATE[42P01]: Undefined table: 7 ERROR: relation "sessions" does not exist LINE 1: select * from "sessions" where "id" = $1 limit 1 ^ (Connection: pgsql, SQL: select * from "sessions" where "id" = gJdKKavAPFoeDXT0hsNIFAPPWcDByQRSrLNnsqCf limit 1)

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

0 Replies

I don't understand how to fix the problem, about the deploy - Railway Help Station