Remove suspended & installing fields, replace with single status field
This commit is contained in:
parent
4c29be2e54
commit
a75a347d65
24 changed files with 115 additions and 59 deletions
|
@ -44,7 +44,7 @@ class ReinstallServerService
|
|||
public function handle(Server $server)
|
||||
{
|
||||
return $this->connection->transaction(function () use ($server) {
|
||||
$server->forceFill(['installed' => Server::STATUS_INSTALLING])->save();
|
||||
$server->fill(['status' => Server::STATUS_INSTALLING])->save();
|
||||
|
||||
$this->daemonServerRepository->setServer($server)->reinstall();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue