From 0229e41149788527a5dfb84550798c8eaf59b1cd Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Sat, 4 Dec 2021 13:56:21 +0100 Subject: [PATCH] Fixed create user table migration --- db/migrations/2018_10_01_000000_create_users_tables.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/db/migrations/2018_10_01_000000_create_users_tables.php b/db/migrations/2018_10_01_000000_create_users_tables.php index 0d6e0a3b..1a847465 100644 --- a/db/migrations/2018_10_01_000000_create_users_tables.php +++ b/db/migrations/2018_10_01_000000_create_users_tables.php @@ -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();