Skip to content

Commit 3361f7c

Browse files
authored
update cities table (#1313)
1 parent 3907da0 commit 3361f7c

File tree

223 files changed

+370101
-377314
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

223 files changed

+370101
-377314
lines changed

bin/db/schema.sql

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ DROP TABLE IF EXISTS `countries`;
1919
DROP TABLE IF EXISTS `subregions`;
2020
DROP TABLE IF EXISTS `regions`;
2121

22-
-- MySQL dump 10.13 Distrib 8.0.43, for Linux (x86_64)
22+
-- MySQL dump 10.13 Distrib 9.3.0, for macos15.2 (arm64)
2323
--
2424
-- Host: localhost Database: world
2525
-- ------------------------------------------------------
26-
-- Server version 8.0.43-0ubuntu0.24.04.2
26+
-- Server version 9.3.0
2727

2828
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
2929
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
@@ -149,7 +149,7 @@ CREATE TABLE `states` (
149149
PRIMARY KEY (`id`),
150150
KEY `country_region` (`country_id`),
151151
CONSTRAINT `country_region_final` FOREIGN KEY (`country_id`) REFERENCES `countries` (`id`)
152-
) ENGINE=InnoDB AUTO_INCREMENT=5815 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=COMPACT;
152+
) ENGINE=InnoDB AUTO_INCREMENT=5818 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=COMPACT;
153153
/*!40101 SET character_set_client = @saved_cs_client */;
154154

155155
--
@@ -183,7 +183,7 @@ CREATE TABLE `cities` (
183183
KEY `cities_test_ibfk_2` (`country_id`),
184184
CONSTRAINT `cities_ibfk_1` FOREIGN KEY (`state_id`) REFERENCES `states` (`id`),
185185
CONSTRAINT `cities_ibfk_2` FOREIGN KEY (`country_id`) REFERENCES `countries` (`id`)
186-
) ENGINE=InnoDB AUTO_INCREMENT=160139 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=COMPACT;
186+
) ENGINE=InnoDB AUTO_INCREMENT=160615 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=COMPACT;
187187
/*!40101 SET character_set_client = @saved_cs_client */;
188188
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
189189

@@ -195,6 +195,6 @@ CREATE TABLE `cities` (
195195
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
196196
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
197197

198-
-- Dump completed on 2025-11-29 6:02:53
198+
-- Dump completed on 2025-12-02 19:54:17
199199

200200
SET FOREIGN_KEY_CHECKS=1;

contributions/cities/AD.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"state_code": "07",
77
"country_id": 6,
88
"country_code": "AD",
9-
"type": null,
9+
"type": "capital",
1010
"level": null,
1111
"parent_id": null,
1212
"latitude": "42.50779000",
@@ -36,7 +36,7 @@
3636
"ar": "أندورا لا فيلا"
3737
},
3838
"created_at": "2019-10-06T09:28:06",
39-
"updated_at": "2025-11-22T16:56:24",
39+
"updated_at": "2025-12-02T14:38:56",
4040
"flag": 1,
4141
"wikiDataId": "Q1863"
4242
},
@@ -47,7 +47,7 @@
4747
"state_code": "04",
4848
"country_id": 6,
4949
"country_code": "AD",
50-
"type": null,
50+
"type": "city",
5151
"level": null,
5252
"parent_id": null,
5353
"latitude": "42.57205000",
@@ -77,7 +77,7 @@
7777
"ar": "أرينسال"
7878
},
7979
"created_at": "2019-10-06T09:28:06",
80-
"updated_at": "2025-11-22T16:56:39",
80+
"updated_at": "2025-12-02T14:38:56",
8181
"flag": 1,
8282
"wikiDataId": "Q24554"
8383
},
@@ -88,7 +88,7 @@
8888
"state_code": "02",
8989
"country_id": 6,
9090
"country_code": "AD",
91-
"type": null,
91+
"type": "adm1",
9292
"level": null,
9393
"parent_id": null,
9494
"latitude": "42.56760000",
@@ -118,7 +118,7 @@
118118
"ar": "كانيلو"
119119
},
120120
"created_at": "2019-10-06T09:28:06",
121-
"updated_at": "2025-11-25T19:26:21",
121+
"updated_at": "2025-12-02T14:38:56",
122122
"flag": 1,
123123
"wikiDataId": "Q386802"
124124
},
@@ -129,13 +129,13 @@
129129
"state_code": "02",
130130
"country_id": 6,
131131
"country_code": "AD",
132-
"type": null,
132+
"type": "city",
133133
"level": null,
134134
"parent_id": null,
135135
"latitude": "42.57952000",
136136
"longitude": "1.65362000",
137137
"native": "El Tarter",
138-
"population": 747,
138+
"population": 1052,
139139
"timezone": "Europe/Andorra",
140140
"translations": {
141141
"br": "El Tarter",
@@ -159,7 +159,7 @@
159159
"ar": "التارتر"
160160
},
161161
"created_at": "2019-10-06T09:28:06",
162-
"updated_at": "2025-11-22T16:56:31",
162+
"updated_at": "2025-12-02T14:39:31",
163163
"flag": 1,
164164
"wikiDataId": "Q24413"
165165
},
@@ -170,7 +170,7 @@
170170
"state_code": "03",
171171
"country_id": 6,
172172
"country_code": "AD",
173-
"type": null,
173+
"type": "adm1",
174174
"level": null,
175175
"parent_id": null,
176176
"latitude": "42.53474000",
@@ -200,7 +200,7 @@
200200
"ar": "إنكامب"
201201
},
202202
"created_at": "2019-10-06T09:28:06",
203-
"updated_at": "2025-11-25T19:26:21",
203+
"updated_at": "2025-12-02T14:38:56",
204204
"flag": 1,
205205
"wikiDataId": "Q989558"
206206
},
@@ -211,7 +211,7 @@
211211
"state_code": "05",
212212
"country_id": 6,
213213
"country_code": "AD",
214-
"type": null,
214+
"type": "adm1",
215215
"level": null,
216216
"parent_id": null,
217217
"latitude": "42.55623000",
@@ -241,7 +241,7 @@
241241
"ar": "أوردينو"
242242
},
243243
"created_at": "2019-10-06T09:28:06",
244-
"updated_at": "2025-11-25T19:26:21",
244+
"updated_at": "2025-12-02T14:38:56",
245245
"flag": 1,
246246
"wikiDataId": "Q3885480"
247247
},
@@ -252,7 +252,7 @@
252252
"state_code": "03",
253253
"country_id": 6,
254254
"country_code": "AD",
255-
"type": null,
255+
"type": "city",
256256
"level": null,
257257
"parent_id": null,
258258
"latitude": "42.54277000",
@@ -282,7 +282,7 @@
282282
"ar": "باس دي لا كاسا"
283283
},
284284
"created_at": "2019-10-06T09:28:06",
285-
"updated_at": "2025-11-25T19:26:21",
285+
"updated_at": "2025-12-02T14:38:56",
286286
"flag": 1,
287287
"wikiDataId": "Q24456"
288288
},
@@ -293,7 +293,7 @@
293293
"state_code": "06",
294294
"country_id": 6,
295295
"country_code": "AD",
296-
"type": null,
296+
"type": "adm1",
297297
"level": null,
298298
"parent_id": null,
299299
"latitude": "42.46372000",
@@ -323,7 +323,7 @@
323323
"ar": "سانت جوليا دي لوريا"
324324
},
325325
"created_at": "2019-10-06T09:28:06",
326-
"updated_at": "2025-11-25T19:26:21",
326+
"updated_at": "2025-12-02T14:38:56",
327327
"flag": 1,
328328
"wikiDataId": "Q1120573"
329329
},
@@ -334,7 +334,7 @@
334334
"state_code": "04",
335335
"country_id": 6,
336336
"country_code": "AD",
337-
"type": null,
337+
"type": "adm1",
338338
"level": null,
339339
"parent_id": null,
340340
"latitude": "42.54499000",
@@ -364,7 +364,7 @@
364364
"ar": "لا ماسانا"
365365
},
366366
"created_at": "2019-10-06T09:28:06",
367-
"updated_at": "2025-11-25T19:26:21",
367+
"updated_at": "2025-12-02T14:38:56",
368368
"flag": 1,
369369
"wikiDataId": "Q3820973"
370370
},
@@ -375,7 +375,7 @@
375375
"state_code": "08",
376376
"country_id": 6,
377377
"country_code": "AD",
378-
"type": null,
378+
"type": "adm1",
379379
"level": null,
380380
"parent_id": null,
381381
"latitude": "42.50729000",
@@ -405,7 +405,7 @@
405405
"ar": "ليه إسكالديس"
406406
},
407407
"created_at": "2019-10-06T09:28:06",
408-
"updated_at": "2025-11-22T16:56:35",
408+
"updated_at": "2025-12-02T14:38:56",
409409
"flag": 1,
410410
"wikiDataId": "Q1050185"
411411
}

0 commit comments

Comments
 (0)