Set correct dbConnection in base model if not default db