Sometimes I want to run a workflow from a migration because I need to paginate through a big table (e.g. messages) and make some changes triggered by data from the main table that I'm migrating over (e.g. threads). I would love to be able to run context.runWorkflow inside a migration so that I can guarantee that the workflow has completed running when that migration is done before I move on to the next one.
Sometimes I want to run a workflow from a migration because I need to paginate through a big table (e.g. messages) and make some changes triggered by data from the main table that I'm migrating over (e.g. threads). I would love to be able to run context.runWorkflow inside a migration so that I can guarantee that the workflow has completed running when that migration is done before I move on to the next one.