changes migration so as to create a relational data