Skip to content

silence() not working #775

Open
Open
@dschinkel

Description

@dschinkel

I do not want logs of my migration SQL statements. Has this 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions