Skip to content

Commit

Permalink
Merge pull request #242 from TripleSD/dev
Browse files Browse the repository at this point in the history
Fix.
  • Loading branch information
AntonMZ authored May 26, 2020
2 parents 84848e4 + abfb51d commit 60a2773
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Admin/Sites/SitesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public function update(UpdateSiteRequest $request, AdminSitesRepository $adminSi
return back()->withInput($fillable);
} else {
$check = new SitesChecker();
$check->handle($id);
$check->handle($id, 'web');
flash('Запись обновлена')->success();

return redirect()->route('admin.sites.index');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ public function up()
Schema::table(
'sites',
function (Blueprint $table) {
$table->integer('ping_threshold')->default(0)
->after('pending')->comment('Ping threshold (int) value');
$table->integer('ping_threshold')
->nullable()
->after('pending')
->comment('Ping threshold (int) value');
}
);
}
Expand Down

0 comments on commit 60a2773

Please sign in to comment.