How to run npm script on Heroku in production?

Asked

Viewed 100 times

1

I need to use Migrations from Sequelize in a Nodejs application that is already in production in Heroku, but I don’t know how to add the scripts in package.json so that the database migrations are always executed, through the npm script, by Heroku.

Has anyone ever been through it? Do I need to make any special step?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.