-- ----------------------------
-- Table structure for ROLE_RES - 角色资源关系
-- Target   : SQLite
-- Author   : wangbing
-- Date:    : 2020-03-09
-- ----------------------------
CREATE TABLE IF NOT EXISTS SYS_ROLE_RES (
    "ID" BIGINT PRIMARY KEY NOT NULL,
    "ROLE_ID" BIGINT NOT NULL,
    "ROLE_CODE" 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
);
