create database if not exists uav_airspace DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_bin; use uav_airspace; create table point_info ( id bigint auto_increment primary key comment '主键', sort_number int null comment '打点顺序', lat02 decimal(20, 7) null comment 'GCJ-02纬度', lng02 decimal(20, 7) null comment 'GCJ-02经度', lat84 decimal(20, 7) null comment 'WGS84纬度', lng84 decimal(20, 7) null comment 'WGS84经度', airspace_id int null comment '关联的空域id', deleted int(1) unsigned zerofill default 0 null comment '0保留,1假删除' ) comment '空域点信息表' row_format = DYNAMIC; create database if not exists uav_airspace DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_bin; use uav_airspace; alter table zyd_airspace add radius int null comment '空域半径';