Modifies the migrations and models