How can I configure the migration and seeds to run before deployment?
woodjs
TRIALOP
a year ago
I am trying to razer this repository https://github.com/brocoders/nestjs-boilerplate
Ralway kind of set it up all by itself. The only thing I did was to separately create PostgreSQL in the panel and connect it to the project. The problem is that railway does not run npm run migraion and seeds. How can I add these commands manually?
1 Replies
brody
EMPLOYEE
a year ago
Hello,
Please see this docs section - https://docs.railway.app/guides/start-command#configure-the-start-command
You could need to run migrations and seed commands in the start command.