east-migration-duration-logger

1.1.0 • Public • Published

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

Package Sidebar

Install

npm i east-migration-duration-logger

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

4.06 kB

Total Files

3

Last publish

Collaborators

  • okv