ROLLBACK

This will rollback 1 step down base on last batch number. This will use the "down" option in your migration file. This is how the rollback button process the migration:

  • ensure database repository exist

  • we get the completed migrations on our database repository base on the last batch number

  • then we build the schema of the completed migrations

  • after that, we remove the migrations from the database repository

Last updated