1.1.0 • Published 4 years ago

east-migration-duration-logger v1.1.0

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

east migration duration logger

East (node.js database migration tool) plugin which logs duration of every migration.

Build Status Coverage Status Npm version

Installation

npm install east-migration-duration-logger

Usage

Add this plugin to the plugins section to .eastrc e.g.:

{
  "plugins": ["east-migration-duration-logger"]
}

That's it, after that duration of migrate, rollback actions will be logged to the output e.g.:

> east migrate
arget migrations:
	1_doSomething
	2_doSomethingElse
Migrate "1_doSomething"
Action migrate of "1_doSomething" done in 206ms
Migration done
Migrate "2_doSomethingElse"
Action migrate of "2_doSomethingElse" done in 1ms
Migration done