Skip to content

mm:rollback Command

Description

The mm:rollback command is used to remove a module from the system, executing rollback of its migrations, removing associated permissions, and disabling the module.

Syntax

shell
php artisan mm:rollback [module]

Execution Flow:

  1. Permission Removal: The command automatically removes all permissions associated with the specified module
  2. Migration Rollback: Asks for confirmation to execute the module's migration rollback (default: yes)
  3. Module Disabling: Disables the module if it exists in the system