okv / east-migration-duration-logger

East plugin which logs duration of every migration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

East plugin which logs duration of every migration


Languages

Language:JavaScript 100.0%