SET FOREIGN_KEY_CHECKS=0;

CREATE TABLE `pearProject`.`pear_project_report`  (
                                                      `id` int(11) NOT NULL AUTO_INCREMENT,
                                                      `project_code` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '项目编号',
                                                      `date` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '日期',
                                                      `content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
                                                      `create_time` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
                                                      `update_time` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
                                                      PRIMARY KEY (`id`) USING BTREE,
                                                      UNIQUE INDEX `union`(`project_code`, `date`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '项目报表统计表' ROW_FORMAT = Compact;

SET FOREIGN_KEY_CHECKS=1;
