made changes to fix the migrations - moved code over to create table