migrate to create details field