Appearance
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:
- Permission Removal: The command automatically removes all permissions associated with the specified module
- Migration Rollback: Asks for confirmation to execute the module's migration rollback (default: yes)
- Module Disabling: Disables the module if it exists in the system