Configure db