Fix production db adapter