Fixed create user table migration

This commit is contained in:
Igor Scheller 2021-12-04 13:56:21 +01:00
parent 93c0868464
commit 0229e41149
1 changed files with 3 additions and 0 deletions

View File

@ -130,6 +130,9 @@ class CreateUsersTables extends Migration
'email_human' => $data->email_by_human_allowed,
'email_shiftinfo' => $data->email_shiftinfo,
]);
unset($settings->email_news);
unset($settings->email_goody);
$settings->user()
->associate($user)
->save();