basic migrate generation working