engineer migrate [options]
Run pending migrations.
-t, --to <file>
- Run all migrations up to and including the specified
-o, --only <file>
- Run only the specified migration
file, ignoring all other pending migrations (optional)
-s, --step <number>
- Run pending migrations in order, but stop migrating after the maximum
numberof migrations (optional)
- Run migrations, even if they have already been migrated (optional)
migrate command deploys pending migrations to the target SharePoint environment. Migrations are run in chronological order (oldest to newest), based on their timestamp file names.
Migrations include both
up (deployment) and
down (retraction) methods. The
migrate command executes only the
up method of each pending migration. Learn more about migrations in the Migrations API documentation.