Skip to content

Add `Mutation.memberRoleDelete` to delete a member role

mo khan requested to merge mokhax/429885/delete-member-role-mutation into master

What does this MR do and why?

This change adds a new GraphQL Mutation that can be used to delete a MemberRole.

#429885 (closed)

DELETE FROM "member_roles"
WHERE "member_roles"."id" = 1;
Time: 3.422 ms
  - planning: 0.451 ms
  - execution: 2.971 ms
    - I/O read: 2.878 ms
    - I/O write: 0.000 ms

Shared buffers:
  - hits: 3 (~24.00 KiB) from the buffer pool
  - reads: 1 (~8.00 KiB) from the OS file cache, including disk I/O
  - dirtied: 0
  - writes: 0

https://console.postgres.ai/gitlab/gitlab-production-tunnel-pg12/sessions/23765/commands/76256

Screenshots or screen recordings

not found |

error |

success |

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by mo khan

Merge request reports