Rollback Migrations

apex migration rollback [--package=] [--txid=] [--last=]
Rollback previously installed database migrations.

Parameters

Parameter Description

Flags

Flag Description
--package Optional package alias to rollback migrations on.
--txid Optional transaction id rollback to and including.
--last The last number of migrations installed on a given package, or last number of transactions to rollback.

Examples

  • ./apex migration rollback --package myshop --last 3