east-migration-duration-logger
v1.1.0
Published
East plugin which logs duration of every migration
Maintainers
Readme
east migration duration logger
East (node.js database migration tool) plugin which logs duration of every migration.
Installation
npm install east-migration-duration-loggerUsage
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