- Add support for driver mysql2@2
- Add support for driver mssql@6
- Fix non-default schema use for mssql (#94)
- Fix MySQL option typings for mysql2
- Fix TypeScript type for currentSchema postgres option
- Add support for mssql 5.x
- Add mssql domain option
- Filter out non-migration files to avoid filename parsing errors
- Add currentSchema option for Postgres
- Add support for mysql2
- Add support for ssl config for mysql
- Fix: close db connection on migration error
- Fix: support schema detection for MySQL 8.0
- Fix: Don't wait for postgres connection end response
- Allow schema to be specified for schemaTable (Postgres only) If schema does not exist it will be created.
- Add connectionTimeout config for mssql
- Adds support for managing multiple databases/schemas on single cluster/database
- Adds incompatible version warnings for installed db drivers
- Add support for pg@6
- Fix: allow filenames longer than 32 char for mssql
- Add option to specify glob pattern for migration files
run_at
timestamp column added to schema tablemd5
andname
columns added for all implementations- Checksum validation now implemented for all drivers
- Checksum validation may be skipped using config
validateChecksums: false
- Callback API replaced with Promises
- Connections opened/closed automatically (no more
.endConnection()
) - Lots of tests
- Node 6 or greater now required
- DB drivers must be installed prior to use (
pg
,mysql
,mssql
) pg.js
andtedious
no longer valid driver config option- None of the API is the same
- Checksums now validated by default for all drivers
- Calling
.migrate()
without input migrates to latest/max - Logging to console removed
- Allow migration SQL to be generated via js function
- Added postgres ssl support
- Allow port configuration
- Added config to toggle logging progress
- Added config for requestTimeout
- Added support for mssql batches using GO keyword
- Exposed functions to get current/max migration versions
- Added config for schematable name
- Added config for checksum newline ending normalization
- Version column increased to BIGINT
- SQL Server connections closed with endConnection()
- Update db driver modules
- Update mssql config: timeout set to 1 hour
- Add version as PK on schemaversion table
- Checksum validation added for postgres
- postgrator.migrate('max', cb) added to migrate to latest version
Initial version released
Initial development