Fixed create user table migration

main
Igor Scheller 3 years ago
parent 93c0868464
commit 0229e41149

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

Loading…
Cancel
Save