Trying other save method, I guess?
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
b45dc09f57
commit
4efac7827b
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@ class UpdateSlackSetting extends Migration
|
|||
$settings = Setting::where('webhook_selected', '=', 'Slack')->get();
|
||||
|
||||
foreach($settings as $setting){
|
||||
$setting->update(['webhook_selected' => 'slack']);
|
||||
$setting->webhook_selected = 'slack';
|
||||
$setting->save();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue