From a8d5dee3fe696e69b95a755f3fca32821901abb2 Mon Sep 17 00:00:00 2001 From: wanggeng <450292408@qq.com> Date: Tue, 28 Dec 2021 18:45:21 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=AE=9A=E4=BD=8D=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mybatis/mapper/user-location/user-location-mapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module-map/src/main/resources/mybatis/mapper/user-location/user-location-mapper.xml b/module-map/src/main/resources/mybatis/mapper/user-location/user-location-mapper.xml index 9b183918..81ea0c31 100644 --- a/module-map/src/main/resources/mybatis/mapper/user-location/user-location-mapper.xml +++ b/module-map/src/main/resources/mybatis/mapper/user-location/user-location-mapper.xml @@ -41,14 +41,14 @@ - CREATE TABLE `map_user_location` ( + CREATE TABLE IF NOT EXISTS `map_user_location` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `user_location_id` char(36) DEFAULT NULL COMMENT '主键', `user_lng` varchar(255) DEFAULT NULL COMMENT '用户经度', `user_lat` varchar(255) DEFAULT NULL COMMENT '用户精度', `is_overstep` int(1) DEFAULT '0' COMMENT '是否越界', `user_username` varchar(255) DEFAULT NULL COMMENT '用户名', - `user_name` varbinary(255) DEFAULT NULL COMMENT '昵称', + `user_name` varchar(255) DEFAULT NULL COMMENT '昵称', `creator` char(36) DEFAULT NULL COMMENT '创建人', `gmt_create` datetime DEFAULT NULL COMMENT '创建时间', `is_delete` int(1) DEFAULT '0' COMMENT '是否删除',