db-migrate / db-migrate/node-db-migrate
silence() not working
- Dominant language
- JavaScript
- Stars
- 2.3k
- Forks
- 361
- PR merge metrics
- No merged PRs in 30d
Description
I do not want logs of my migration SQL statements. Has [this](https://github.com/db-migrate/node-db-migrate/issues/453) been resolved?
this does not work:
`dbmigrate.silence(true);`
What can we do to get this to actually work. Is this a bug?
I would not expect to go and manually modify every migration. `I run migrations during tests and I also do not want console logs everywhere when those run migrations every time. It slows down my tests.`
I don't know why this issue is being ignored when I see several issues out there on this.
We should be able to rely on silence() and not have to manually remove that console log in every migration file.
Please update the docs and take silence out if it's not working...why is it in the docs if silence doesn't even work?
Contributor guide
Assessment
This issue has not been assessed yet.