Usage:
- Put all these files in magento/app/db (htaccess is in place then), go in that dir and
npm install
- Create a new migration with a command à la
export export DATABASE_URL=$(php dburl.php); node_modules/.bin/db-migrate create <<nameofmigration>> --sql-file
- Run main migration with
npm run dbup
orexport DATABASE_URL="$(php dburl.php)?multipleStatements=true"; node_modules/.bin/db-migrate up