Fixes #4059: create the migration script for node executions