Skip to content
Permalink
Browse files

Enable Maintenance mode for database:restore during execution (#3811)

  • Loading branch information...
LOBsTerr authored and jmolivas committed Apr 22, 2018
1 parent 390a131 commit 3e5a458cacbc82222eda6f5bbfe814b3fd418b12
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/Command/Database/RestoreCommand.php
@@ -56,7 +56,8 @@ protected function configure()
$this->trans('commands.database.restore.options.file')
)
->setHelp($this->trans('commands.database.restore.help'))
->setAliases(['dbr']);
->setAliases(['dbr'])
->enableMaintenance();
}
/**

0 comments on commit 3e5a458

Please sign in to comment.
You can’t perform that action at this time.