       ENDPOINT_TYPE_ID = NEW.ENDPOINT_TYPE_REF
   );
 END;
-CREATE TRIGGER "DELETE_TRIGGER_ENDPOINT_TYPE_CLUSTER"
+CREATE TRIGGER IF NOT EXISTS "DELETE_TRIGGER_ENDPOINT_TYPE_CLUSTER"
 AFTER
   DELETE ON "ENDPOINT_TYPE_CLUSTER" BEGIN
 UPDATE SESSION

WHERE
  SESSION_ID = OLD.SESSION_REF;
END;
CREATE TRIGGER "INSERT_TRIGGER_ENDPOINT"
AFTER
INSERT ON "ENDPOINT" BEGIN
UPDATE SESSION

      ENDPOINT_TYPE_ID = NEW.ENDPOINT_TYPE_REF
  );
END;
CREATE TRIGGER IF NOT EXISTS "DELETE_TRIGGER_ENDPOINT_TYPE_COMMAND"
AFTER
  DELETE ON "ENDPOINT_TYPE_COMMAND" BEGIN
UPDATE SESSION
