-- +migrate Up
CREATE TABLE tasks (
    id SERIAL PRIMARY KEY,
    creator VARCHAR(255),
    creator_link VARCHAR(255),
    messageID VARCHAR(255),

    description TEXT,


    started_at TIMESTAMPTZ,
    closed_at  TIMESTAMPTZ,

    created_at TIMESTAMPTZ DEFAULT current_timestamp,
    deleted_at TIMESTAMPTZ,
    updated_at TIMESTAMPTZ
);

-- +migrate Down
DROP TABLE tasks;