Add database configuration.