Commands

Commands

The following commands are available:

CommandDescription
scaffoldPrepare the template for the migration file for the next version of the database
validateVerify the correctness of the structure of the migration file for the specified version
migrateApply any pending migrations. Proceeds one step at a time, unless a target is specified
rollbackReverse the latest migration. Proceeds one step at a time, unless a target is specified
updateMigrate or Rollback the database to the highest version in the versions directory, or to a target if one is specified
historyDisplay the last migration entries as up to the given entries