generate scaffold and migrate edits