R
Railway5mo ago
tooru

Can't migrate db and run app in 1 command

If you chain commands in the "Start command" field, it will only run the first command. Please fix.
No description
7 Replies
Percy
Percy5mo ago
Project ID: 02488d6b-8c14-4f63-a855-4a12942f0aef
Brody
Brody5mo ago
does prisama db push exit with a success code? if it doesn’t the second command won't be ran
Brody
Brody5mo ago
wrap it in /bin/sh -c "<commands here>"
tooru
tooru5mo ago
double checked, prisma db push returns 0 will try, thanks that did the trick, but this should be fixed
Brody
Brody5mo ago
it's not an issue with Railway, it's how docker works
tooru
tooru5mo ago
alright, thanks