Modified specified method of primary key at migration