rename installSchema function to migrate