Updated http adapter to avoid creating an existing DB