-- ------------------------------------------------------------
-- Add table to keep track off whether SAP is done an operation
-- ------------------------------------------------------------
CREATE TABLE apm_sap_check (
	guiid CHAR(32) NOT NULL,
	timestamp TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (guiid));