Add configuration for database