CREATE TABLE IF NOT EXISTS `role`
(
    `id`        bigint                                                        NOT NULL,
    `role`      varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色',
    `name`      varchar(255) COLLATE utf8mb4_general_ci                       NOT NULL COMMENT '角色名',
    `system_id` varchar(255) COLLATE utf8mb4_general_ci                       NOT NULL COMMENT '所属系统',
    `active`    tinyint(1)                                                    NOT NULL,
    PRIMARY KEY (`id`)
) ENGINE = InnoDB
  DEFAULT CHARSET = utf8mb4
  COLLATE = utf8mb4_general_ci;