Configuration for database.