Fix configuration via the console helper provided by Doctrine DBAL

The helper provided by Doctrine DBAL is named `connection`, not `db`.