code: private void deleteInvitation(JdbcConnection connection, Long id) throws CustomChangeException {
      try (PreparedStatement statement = connection.prepareStatement("DELETE FROM PANELINVITATION WHERE id = ?")) {
        statement.setLong(1, id);
        statement.execute();
      } catch (Exception e) {
        throw new CustomChangeException(e);
      }
    }
docs: Deletes an invitation
  
  @param connection connection
  @param id invitation id
  @throws CustomChangeException on error