From 61eecf3d1b6010f2ca1321db82fbeb23c60e07fa Mon Sep 17 00:00:00 2001 From: qianming Date: Thu, 18 May 2023 16:20:15 +0800 Subject: [PATCH] =?UTF-8?q?aj=5Freport=5Finit.sql=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/example/aj_report_init.sql | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/example/aj_report_init.sql b/doc/example/aj_report_init.sql index ed9ef793..cf4b5b62 100644 --- a/doc/example/aj_report_init.sql +++ b/doc/example/aj_report_init.sql @@ -920,14 +920,14 @@ INSERT INTO `aj_report_init`.`aj_report_wifiamount` VALUES ('2021-06-23', 150, 1 -- Table structure for aj_report_city -- ---------------------------- DROP TABLE IF EXISTS `aj_report_init`.`aj_report_city`; -CREATE TABLE `aj_report_init`.`aj_report_city` ( - `id` NOT NULL AUTO_INCREMENT, - `city_code` varchar(255) null comment '城市code', - `city_name` varchar(255) null comment '城市名', - `nums` int null comment '数量', - `create_time` datetime null comment '日期' +CREATE TABLE `aj_report_init`.`aj_report_city` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `city_code` varchar(255) DEFAULT NULL COMMENT '城市code', + `city_name` varchar(255) DEFAULT NULL COMMENT '城市名', + `nums` int(11) DEFAULT NULL COMMENT '数量', + `create_time` datetime DEFAULT NULL COMMENT '日期', PRIMARY KEY (`id`) USING BTREE -)ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic; +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of aj_report_city -- ----------------------------