skeleton code for 'migrate' command