CREATE TABLE EmployeFinderWorker
(
    id BIGINT UNSIGNED NOT NULL,
    EmployeFinder BIGINT UNSIGNED NOT NULL,
    Person BIGINT UNSIGNED NOT NULL,
    Status ENUM("Available", "NotAvailable", "AlreadyBooked", "Queue", "GiveUp") DEFAULT NULL,
    RemainingTries TINYINT DEFAULT 3,
    NextRetry BIGINT UNSIGNED NOT NULL,
    AbsoluteTries TINYINT DEFAULT 4,
    LockId CHAR(32) DEFAULT NULL,
    Priority BIGINT DEFAULT 500,
    PRIMARY KEY ( id ) AUTO_INCREMENT,
    KEY ( LockId )

) ENGINE=INNODB CHARSET=UTF8;
