Przeglądaj źródła

district schema

Antiloveg 8 lat temu
rodzic
commit
8b5eef7e98
2 zmienionych plików z 3258 dodań i 1 usunięć
  1. 10 1
      schema/2017-06-07.sql
  2. 3248 0
      schema/district.sql

+ 10 - 1
schema/2017-06-07.sql

@@ -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 = '地区数据字典';

Plik diff jest za duży
+ 3248 - 0
schema/district.sql