-- @param {String} $1:role_id
-- @param {String} $2:guild_id
UPDATE
  "public"."Guild"
SET
  "AutoRoles" = array_remove("AutoRoles", $1)
WHERE
  "id" = $2;