diff --git a/src/Illuminate/Support/Facades/DB.php b/src/Illuminate/Support/Facades/DB.php index 3ddeae76298..14c948b5588 100644 --- a/src/Illuminate/Support/Facades/DB.php +++ b/src/Illuminate/Support/Facades/DB.php @@ -122,18 +122,18 @@ class DB extends Facade /** * Indicate if destructive Artisan commands should be prohibited. * - * Prohibits: db:wipe, migrate:fresh, migrate:refresh, and migrate:reset + * Prohibits: db:wipe, migrate:fresh, migrate:refresh, migrate:reset, migrate:rollback * * @param bool $prohibit * @return void */ public static function prohibitDestructiveCommands(bool $prohibit = true) { + WipeCommand::prohibit($prohibit); FreshCommand::prohibit($prohibit); RefreshCommand::prohibit($prohibit); ResetCommand::prohibit($prohibit); RollbackCommand::prohibit($prohibit); - WipeCommand::prohibit($prohibit); } /**