Skip to content

Commit

Permalink
fix: Duplicate entry
Browse files Browse the repository at this point in the history
  • Loading branch information
dr5hn committed Sep 4, 2024
1 parent 00ea02d commit a59da3b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions sql/world.sql
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ CREATE TABLE `cities` (
KEY `cities_test_ibfk_2` (`country_id`),
CONSTRAINT `cities_ibfk_1` FOREIGN KEY (`state_id`) REFERENCES `states` (`id`),
CONSTRAINT `cities_ibfk_2` FOREIGN KEY (`country_id`) REFERENCES `countries` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=153782 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=COMPACT;
) ENGINE=InnoDB AUTO_INCREMENT=153781 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=COMPACT;

DROP TABLE IF EXISTS `countries`;
CREATE TABLE `countries` (
Expand Down Expand Up @@ -150894,8 +150894,7 @@ INSERT INTO `cities` (`id`, `name`, `state_id`, `state_code`, `country_id`, `cou
(153777, 'Kinondoni', 1490, '02', 218, 'TZ', -6.78423100, 39.26567600, '2024-08-31 18:49:00', '2024-08-31 18:54:03', 1, 'Q6414190'),
(153778, 'Temeke', 1490, '02', 218, 'TZ', -6.90418400, 39.23528200, '2024-08-31 18:49:43', '2024-08-31 18:54:03', 1, 'Q2571801'),
(153779, 'Ubungo', 1490, '02', 218, 'TZ', -6.80600500, 39.24663600, '2024-08-31 18:50:18', '2024-08-31 18:54:03', 1, 'Q4002519'),
(153780, 'Rosenthal am Rennsteig\r\nRosenthal am Rennsteig\r\nRosenthal am Rennsteig\r\nRosenthal am Rennsteig\r\nRosenthal am Rennsteig\r\nRosenthal am Rennsteig', 3015, 'TH', 82, 'DE', 50.41869230, 11.49320040, '2024-09-03 10:45:44', '2019-10-05 17:15:03', 1, 'Q59775093'),
(153781, 'Rosenthal am Rennsteig', 3015, 'TH', 82, 'DE', 50.41869230, 11.49320040, '2024-09-03 10:50:46', '2024-09-03 10:51:51', 1, 'Q59775093');
(153780, 'Rosenthal am Rennsteig', 3015, 'TH', 82, 'DE', 50.41869230, 11.49320040, '2024-09-03 10:50:46', '2024-09-03 10:51:51', 1, 'Q59775093');

INSERT INTO `countries` (`id`, `name`, `iso3`, `numeric_code`, `iso2`, `phonecode`, `capital`, `currency`, `currency_name`, `currency_symbol`, `tld`, `native`, `region`, `region_id`, `subregion`, `subregion_id`, `nationality`, `timezones`, `translations`, `latitude`, `longitude`, `emoji`, `emojiU`, `created_at`, `updated_at`, `flag`, `wikiDataId`) VALUES
(1, 'Afghanistan', 'AFG', '004', 'AF', '93', 'Kabul', 'AFN', 'Afghan afghani', '؋', '.af', 'افغانستان', 'Asia', 3, 'Southern Asia', 14, 'Afghan', '[{\"zoneName\":\"Asia/Kabul\",\"gmtOffset\":16200,\"gmtOffsetName\":\"UTC+04:30\",\"abbreviation\":\"AFT\",\"tzName\":\"Afghanistan Time\"}]', '{\"kr\":\"아프가니스탄\",\"pt-BR\":\"Afeganistão\",\"pt\":\"Afeganistão\",\"nl\":\"Afghanistan\",\"hr\":\"Afganistan\",\"fa\":\"افغانستان\",\"de\":\"Afghanistan\",\"es\":\"Afganistán\",\"fr\":\"Afghanistan\",\"ja\":\"アフガニスタン\",\"it\":\"Afghanistan\",\"cn\":\"阿富汗\",\"tr\":\"Afganistan\",\"ru\":\"Афганистан\",\"uk\":\"Афганістан\",\"pl\":\"Afganistan\"}', 33.00000000, 65.00000000, '🇦🇫', 'U+1F1E6 U+1F1EB', '2018-07-21 07:11:03', '2023-08-08 21:04:58', 1, 'Q889');
Expand Down Expand Up @@ -156309,4 +156308,4 @@ INSERT INTO `subregions` (`id`, `name`, `translations`, `region_id`, `created_at
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

0 comments on commit a59da3b

Please sign in to comment.