changes db adapter and adds schema