how to migrate to dynamic entity? oh my!