#10161 Fix custom migration folder path

Removed hard coded migration folder path from the create new migration method.