- [DEPRECATION] Deprecate
createDb - Add
ensureDatabaseExiststo check/create database inmigrate
- Validate migration ordering when loading files (instead of when applying migrations)
- Expose
loadMigrationFilespublicly, which can be used to validate files in e.g. a pre-push hook - Add
pg-validate-migrationsbin script
- [BREAKING] Update
pgto version 8. See the pg changelog for details.
- [BREAKING] Updated whole project to TypeScript
- some types might differ, no functional change
- 21a7ee6
- [BREAKING] Increase required Node.js version to v10
- 24bf9b7
- [BREAKING] Ensure file extension includes
.- b8ed85a
- [BREAKING] Implement advisory locks to manage concurrency
- 73b5ade
- Optionally accept a
pgclient for database connections- ad81ed9 c246ad3