How to run script npm in heroku in production?

1

I need to use the Sequelize migrations in a NodeJS application that is already in production in Heroku, but I do not know how to add the scripts in the package.json so that Database migrations always run, via npm script, by Heroku.

Has anyone ever gone through this? Do I need to take any special steps?

    
asked by anonymous 07.07.2017 / 23:07

0 answers