DROP TABLE IF EXISTS `approvalgroups`;
CREATE TABLE `approvalgroups`  (
  `id` int NOT NULL AUTO_INCREMENT COMMENT '主键',
  `groupName` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '审批组名称',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

SET FOREIGN_KEY_CHECKS = 1;

DROP TABLE IF EXISTS `approvalgroupmembers`;
CREATE TABLE `approvalgroupmembers`  (
  `id` int NOT NULL AUTO_INCREMENT COMMENT '主键',
  `groupId` int NOT NULL COMMENT '审批组id',
  `memberId` int NOT NULL COMMENT '成员id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

SET FOREIGN_KEY_CHECKS = 1;
