add database configuration.