- 博客(1)
- 资源 (1)
- 收藏
- 关注
user_city.sql
create table city
(
id int unsigned auto_increment comment 'ID'
primary key,
name varchar(100) default '' not null comment '名称',
en varchar(180) default '' not null comment '英文',
sn bigint unsigned default 0 not null comment '编号',
lng double unsigned default '0' not null comment '经度',
lat double unsigned default '0' not null comment '纬度',
addr varchar(1025) default '' not null comment '地址',
pid int unsigned default 0 not null comment '上级',
type tinyint(1) unsigned default 2 not null comment '级别(0=国家&1=省&2=市&3=区&4=县&5=街道&6=居委会)',
hot tinyint(1) unsigned default 0 not null comment '热门',
idx smallint(5) unsigned default 0 not null comment '排序',
constraint IDX_EN
unique (en)
)
2020-04-03
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人