@slonik/migrator@0.8.0
0.8.0 (2021-06-25)
Features
Many new features and safety checks from umzug v3. There are some breaking changes associated with this PR:
- Instead of
setupSlonikMigrator
which is now deprecated and will emit warnings, usenew SlonikMigrator
- instead of setting
mainModule: module
to turn a migrator into a CLI, use.runAsCLI()
- running a specific migration by name uses a
--name
parameter rather than a positional parameter migrationTableName
no longer has a default value. If you were previously using the default value, pass in'migration'
explicitlylog
->logger
- slonik peerDependency minimum now set to
23
The schema of the migration table is unchanged since the previous release, but as always, test out the new version in a non-production environment first!
See the readme for command docs and examples.