blueedgetechnical
HOBBYOP
2 months ago
Hey I wanted to ask if its true that I cant run commands on the hobbyplan inside railway. And if so how I should handle db-updates. My goal was to run my db-ini script trough railway so it updates my postgres db on railway. Thanks for your help guys :)
5 Replies
2 months ago
Hey, you can run SQL queries directly on Railway if you enable the raw SQL query feature flag here: https://railway.com/account/feature-flags
2 months ago
You can run it in your Python service by specifying it as a pre deploy command.
https://docs.railway.com/guides/pre-deploy-command
Status changed to Solved uxuz • about 2 months ago