flask db migrate
nizian
PROOP

a year ago

Hello, I need help. I haven't been able to use the website I just deployed because, after setting up the environment variables and connecting Redis and PostgreSQL, I still need to do something similar to running "flask db upgrade". Locally, I would always run this command from the "web" folder inside my project’s root directory. However, if I add cd web && flask db upgrade in the “pre-deploy commands,” the deployment fails. How can I perform this step on Railway?
Thanks!

View Deploy details

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

Solved

1 Replies

What happens when you move it to a start command, also, are you using Postgres instead of something like SQLite?


Status changed to Awaiting User Response Railway 12 months ago


Railway
BOT

5 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 6 months ago


Loading...