CREATE TABLE PinCallWorker
(
    id BIGINT UNSIGNED DEFAULT NULL,
    ZoneId BIGINT UNSIGNED NOT NULL,
    PhoneNumber VARCHAR(20) NOT NULL,
    Extension VARCHAR(20) NOT NULL,
    Pin VARCHAR(255) NOT NULL,
    LockId CHAR(32) DEFAULT NULL,
    ExecutionTs BIGINT UNSIGNED DEFAULT NULL,
    ScheduledTs BIGINT UNSIGNED DEFAULT NULL,
    isDone TINYINT UNSIGNED DEFAULT 0,
    isFailed TINYINT UNSIGNED DEFAULT 0,
    PRIMARY KEY ( id ) AUTO_INCREMENT,
    KEY ( LockId )
    /* Reading rows after lock */

) ENGINE=INNODB CHARSET=UTF8 COMMENT="Table for tasking forgot password pin call";
