R
Railway11mo 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
Percy11mo ago
Project ID: 02488d6b-8c14-4f63-a855-4a12942f0aef
Brody
Brody11mo ago
does prisama db push exit with a success code? if it doesn’t the second command won't be ran
Brody
Brody11mo ago
wrap it in /bin/sh -c "<commands here>"
tooru
tooruOP11mo ago
double checked, prisma db push returns 0 will try, thanks that did the trick, but this should be fixed
Brody
Brody11mo ago
it's not an issue with Railway, it's how docker works
tooru
tooruOP11mo ago
alright, thanks
Want results from more Discord servers?
Add your server