execut migration

jeca0212
HOBBY

a year ago

i need tu execut my migrations and seeders but mi app failed when i deploy, where i can write the command php artisan migrate and php artisan db:seed?

View Deploy details

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

1 Replies

a year ago

You can set them in your start command found in the service settings, first copy down the default start command that can be found in the build table at the top of the build logs, then use this format -

[migrate command] && [seed command] && [original start command]

Sans square brackets.


execut migration - Railway Help Station