Open gijo-varghese opened 6 years ago
Same questions. The doc is very limited about how to use it.
You can go this way:
node node_modules/loopback-component-migrate/bin/cli migrate to <filename>
or even without filename argument to go until the last migration.
How can I run migrations from a command like
npm run migrate
?also where to put
Migrate.migrate('up', function(err) {});
??