
DROP TABLE TaskQueue;
CREATE TABLE IF NOT EXISTS TaskQueue (
    TaskId      INT NOT NULL AUTO_INCREMENT,
    Callback    TEXT,
    Parameters  TEXT,
    Priority    INT,
    Description TEXT,
    INDEX       (TaskId)
);

DROP TABLE PeriodicEvents;
CREATE TABLE IF NOT EXISTS PeriodicEvents (
    Signature   TEXT,
    LastRunAt   DATETIME
);

