更新数据库文件
Signed-off-by: vilson <545522390@qq.com>
This commit is contained in:
parent
5bef4c27cc
commit
fc5e788298
16
data/2.8.0/2.8.1-2.8.4.sql
Normal file
16
data/2.8.0/2.8.1-2.8.4.sql
Normal file
@ -0,0 +1,16 @@
|
||||
SET FOREIGN_KEY_CHECKS=0;
|
||||
|
||||
ALTER TABLE `pearProject`.`pear_notify` ADD COLUMN `source_code` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '资源code' AFTER `avatar`;
|
||||
|
||||
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;
|
Loading…
x
Reference in New Issue
Block a user