-- ----------------------------
-- Table structure for VISITOR_RES - 应用资源关系
-- Target   : SQLite
-- Author   : wangbing
-- Date:    : 2020-06-25
-- ----------------------------
CREATE TABLE IF NOT EXISTS SYS_VISITOR_RES (
    "ID" BIGINT PRIMARY KEY NOT NULL,
    "APP_ID" BIGINT NOT NULL,
    "APP_KEY" VARCHAR(50) NOT NULL,
    "RES_ID" BIGINT NOT NULL,
    "RES_CODE" VARCHAR(50) 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
);
