Adding database configuration