id)->update(['current_workspace_id' => null]); $workspace->delete(); } }