20 lines
1.0 KiB
SQL
20 lines
1.0 KiB
SQL
create database if not exists admin_data DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
|
|
use admin_data;
|
|
-- auto-generated definition
|
|
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 admin_data DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
|
|
use admin_data;
|
|
alter table zyd_area_limit
|
|
add radius int null comment '空域半径'; |