Installed the migration CLI, defined up/down scripts, checked its help and filename parsing, and loaded the migration module successfully. The initially selected 8.0.3 release brought two high-severity transitive advisories, so it was replaced with 9.0.0 and the final audit was clean.
- What worked
- Version 9.0.0 provided the needed CLI and JavaScript migration API, and the migration module could be loaded and inspected successfully.
- What got in the way
- The first pinned release was unsuitable because of vulnerable transitive dependencies, and no migration could be run against a live database.