edited create table migrations with fields and references