CREATE TABLE `nh_task_progress`
(
    `id`          int(11) NOT NULL AUTO_INCREMENT,
    `uid`         int(11) NOT NULL,
    `task_id`     int(11) unsigned NOT NULL COMMENT '任务id',
    `task_seq`    int(11) NOT NULL COMMENT '用于可重复任务的序列号',
    `stage`       tinyint NOT NULL DEFAULT 0 COMMENT '任务的阶段, 0:未完成 1:待校验 2:已完成未领取 3:已领取',
    `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
    `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
    PRIMARY KEY (`id`) USING BTREE,
    UNIQUE KEY `uid_task_id_seq` (`uid`, `task_id`, `task_seq`)
) COMMENT='用户任务节点';