-- ----------------------------
-- Table structure for TASK_SQL - SQL任务
-- Target   : SQLite
-- Author   : author
-- Date:    : 2020-06-04
-- ----------------------------
CREATE TABLE IF NOT EXISTS SYS_TASK_SQL (
    "ID" BIGINT PRIMARY KEY NOT NULL,
    "TASK_NAME" VARCHAR(50) NOT NULL,
    "TASK_NOTE" VARCHAR(250),
    "TASK_TYPE" VARCHAR(20) NOT NULL,
    "TYPE_VALUE" VARCHAR(50) NOT NULL,
    "TASK_SQL" TEXT NOT NULL,
    "VALID" BOOLEAN NOT NULL,
    "ROW_VERSION" BIGINT NOT NULL,
    "IS_DELETED" BOOLEAN NOT NULL,
    "CREATE_BY" BIGINT NOT NULL,
    "CREATE_TIME" DATETIME NOT NULL,
    "LAST_UPDATE_BY" BIGINT,
    "LAST_UPDATE_TIME" DATETIME
);
