- [FIXED]
--json
option of themig:status
command printed invalid json when executed as cli shell command - [FIXED]
migrate
&seed
&mig:status
commands should not requireproject-root/migrations/src
directory to be present
- [ADDED]
--json
option to themig:status
command which will dump data in json format
- [ADDED] - new
--genesis-version
option to themigrate
command - [ADDED] -
mig:status
command prints info about which verions are about to be migrated - [CHANGED] -
mig:status
does not fail with an error ifmigrations
db table does not exists - it just prints versions which will be migrated
- [FIXED] - generate proper readme file in the
migrations
directory as opposed to current empty file - [CHANGED] - postgres migrations are generated so that DDL and DML changes are interpolated as opposed to all DDL changes to tables being executed first (previous behavior)
- [FIXED] - incorrect failure when executing a command against a project with no
git
repository initialized
- [FIXED] -
bi-db-migrate
executable did not repond to any commands
- [CHANGED] - npm package name renamed to
bi-db-migrations
- [ADDED] -
bi-db-migrate
executable
- [FIXED] - CLI command functions were being executed with incorrect scope context
- [CHANGED] - API refactored so that all commands are wrapped into a
Migration
class so it's possible to construct multiple migration objects for multiple projects at once
- [FIXED] - init:seed command should create a sql file named
data.sql
instead ofseed.sql
- [CHANGED] - current process is not exit when a command is called programatically, instead a Promise is returned
- [FIXED] - correcly resolve database table dependencies when generating a new migration
- [ADDED] - initial release