Allow Config override in Database constructor