Add database configuration for postgresql