CREATE TABLE NodeRemoverWorker__Log
(
    id BIGINT UNSIGNED DEFAULT NULL,
    JobId BIGINT UNSIGNED DEFAULT NULL COMMENT "Job ID from worker table",
    ExecutedTs BIGINT UNSIGNED DEFAULT NULL COMMENT "Timestamp when job was executed",
    Zone BIGINT UNSIGNED NOT NULL COMMENT "Zone from which job was executed",
    Node BIGINT UNSIGNED NOT NULL COMMENT "Node id for which job was executed",
    Status ENUM("SUCCESS", "ERROR_FOREIGN", "ERROR_USER", "ERROR_NOTANODE", "ERROR_OTHER") DEFAULT "SUCCESS" COMMENT "Success or not",
    Info VARCHAR(255) DEFAULT NULL COMMENT "Reason why we could not remove node, if it is the case",
    PRIMARY KEY ( id ) AUTO_INCREMENT

) ENGINE=INNODB CHARSET=UTF8 COMMENT="Log of jobs executed by the NodeRemover worker";
