Migrate down

The migrate down command rollbacks selected migration.

After successful operation its version is removed from the migration table. At the beginning of an operation advisory lock is acquired to prevent other operations to run simultaneously.


krab migrate down [set] [version]


  • set - name of the set to migrate.
  • version - migration version to rollback.


For default migration set and migration version 20060102150405 you would use:

krab migrate down default 20060102150405