fix: migrate db schema for smtp + discord
This commit is contained in:
@@ -34,20 +34,6 @@ class User extends Authenticatable implements SendsEmail
|
||||
$team = [
|
||||
'name' => $user->name . "'s Team",
|
||||
'personal_team' => true,
|
||||
'smtp' => [
|
||||
'enabled' => false,
|
||||
],
|
||||
'smtp_notifications' => [
|
||||
'test' => true,
|
||||
'deployments' => false,
|
||||
],
|
||||
'discord' => [
|
||||
'enabled' => false,
|
||||
],
|
||||
'discord_notifications' => [
|
||||
'test' => true,
|
||||
'deployments' => false,
|
||||
],
|
||||
];
|
||||
if ($user->id === 0) {
|
||||
$team['id'] = 0;
|
||||
@@ -124,4 +110,4 @@ class User extends Authenticatable implements SendsEmail
|
||||
$data = Application::where('team_id', $team_id)->get();
|
||||
return $data;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user