You can then run it programmatically or from the CLI. See below. Migrations allow you to define functions that run on all documents in a table (or a specified subset). They run in batches ...