|
|
@@ -32,4 +32,13 @@ modify column `location_area` int(4) null comment '开户行所在地-区(县)';
|
|
|
alter table user_info
|
|
|
modify column `residence_province` int(2) null comment '居住地--省',
|
|
|
modify column `residence_city` int(3) null comment '居住地--市',
|
|
|
-modify column `residence_area` int(4) null comment '居住地--区';
|
|
|
+modify column `residence_area` int(4) null comment '居住地--区';
|
|
|
+
|
|
|
+CREATE TABLE `district_glossory` (
|
|
|
+ `id` INT(4) NOT NULL,
|
|
|
+ `name` VARCHAR(16) NULL COMMENT '名称',
|
|
|
+ `pid` INT(4) NULL COMMENT '上级ID',
|
|
|
+ `level` INT(1) NULL COMMENT '层级',
|
|
|
+ PRIMARY KEY (`id`))
|
|
|
+ENGINE = InnoDB
|
|
|
+COMMENT = '地区数据字典';
|