How do I hide schema and migration information while running migration in adonisjs test

I am new to adonis JS. I have looked at the docs and other resources but couldn’t figure out how to only show the test results without all the migration up and down information.

As you can see from image below, the result of test is sandwich between migration up and migration down information which I don’t need.

Silent argument is passd to vowfile.js as well. This removes the list of migration files run. But doesn’t hide other unnecessary information.

const ace = require('@adonisjs/ace')
await ace.call('migration:run', {}, { silent: true })
await ace.call('migration:reset', {}, { silent: true })

Also asked the same question on stackoverflow, no answer yet.

1 Like

hi,
Setting debug: false inside the config/database.js.

mysql: {
    client: 'mysql',
    debug: false,
    ...
  }

Thanks, that worked.
I had DB_DEBUG=false on .env.testing and it didn’t work.