Commit 4ccfcd87 authored by Robert Marshall's avatar Robert Marshall Committed by Ahmad Sherif

Remove `bot_type` field

- Removes `bot_type` as a field in the database query because it was
  removed from the schema in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/27076

Related https://gitlab.com/gitlab-org/gitlab-exporter/-/issues/70Signed-off-by: Robert Marshall's avatarRobert Marshall <rmarshall@gitlab.com>
parent 3144f5b3
......@@ -110,7 +110,7 @@ module GitLab
GROUP BY members.user_id
) AS u
ON users.id = u.user_id",
where: "ghost IS NULL AND bot_type IS NULL",
where: "ghost IS NULL AND user_type IS NULL",
fields: {
admin: {},
external: {},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment