diff options
| author | Gooyeth <566327+Gooyeth@users.noreply.github.com> | 2018-06-22 17:32:39 -0600 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2019-01-09 17:35:13 +0100 |
| commit | 163c487be7e60ab0488dade3e3170c9b7b9b5f68 (patch) | |
| tree | c4c299c869d543f9f04d683987ad74a033963285 /sql/base | |
| parent | 5620eb9463a8d6cf59851306b92a8c644acd512d (diff) | |
Common: Replace ip2nation by ip2location. (#21957)
Replace ip2nation by ip2location.
Download: https://lite.ip2location.com/database/ip-country
(cherry picked from commit 2fe4ab94c52ad2fa90189ecd9c053da49f06561e)
Diffstat (limited to 'sql/base')
| -rw-r--r-- | sql/base/auth_database.sql | 53 |
1 files changed, 1 insertions, 52 deletions
diff --git a/sql/base/auth_database.sql b/sql/base/auth_database.sql index 225a945d5c3..19da747f6fa 100644 --- a/sql/base/auth_database.sql +++ b/sql/base/auth_database.sql @@ -435,58 +435,6 @@ LOCK TABLES `battlenet_item_favorite_appearances` WRITE; UNLOCK TABLES; -- --- Table structure for table `ip2nation` --- - -DROP TABLE IF EXISTS `ip2nation`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `ip2nation` ( - `ip` int(11) unsigned NOT NULL DEFAULT '0', - `country` char(2) NOT NULL DEFAULT '', - KEY `ip` (`ip`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `ip2nation` --- - -LOCK TABLES `ip2nation` WRITE; -/*!40000 ALTER TABLE `ip2nation` DISABLE KEYS */; -/*!40000 ALTER TABLE `ip2nation` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `ip2nationCountries` --- - -DROP TABLE IF EXISTS `ip2nationCountries`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `ip2nationCountries` ( - `code` varchar(4) NOT NULL DEFAULT '', - `iso_code_2` varchar(2) NOT NULL DEFAULT '', - `iso_code_3` varchar(3) DEFAULT '', - `iso_country` varchar(255) NOT NULL DEFAULT '', - `country` varchar(255) NOT NULL DEFAULT '', - `lat` float NOT NULL DEFAULT '0', - `lon` float NOT NULL DEFAULT '0', - PRIMARY KEY (`code`), - KEY `code` (`code`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `ip2nationCountries` --- - -LOCK TABLES `ip2nationCountries` WRITE; -/*!40000 ALTER TABLE `ip2nationCountries` DISABLE KEYS */; -/*!40000 ALTER TABLE `ip2nationCountries` ENABLE KEYS */; -UNLOCK TABLES; - --- -- Table structure for table `ip_banned` -- @@ -2242,6 +2190,7 @@ INSERT INTO `updates` VALUES ('2018_05_24_00_auth.sql','B98FD71AAA13810856729E034E6B8C9F8D5D4F6B','RELEASED','2018-05-24 22:32:49',0), ('2018_06_14_00_auth.sql','67EAB915BF0C7F2D410BE45F885A1A39D42C8C14','RELEASED','2018-06-14 23:06:59',0), ('2018_06_22_00_auth.sql','9DA24F70B8A365AFDEF58A9B578255CDEDFCA47C','RELEASED','2018-06-22 17:45:45',0), +('2018_06_23_00_auth.sql','BE35312C386A127D047E5A7CE0D14DB41D905F8E','RELEASED','2018-05-23 10:14:39',0), ('2018_06_29_00_auth.sql','03AAEA7E52848FA5522C3F0C6D9C38B988407480','RELEASED','2018-06-29 22:34:04',0), ('2018_12_09_00_auth_2017_01_06_00_auth.sql','6CCFE6A9774EC733C9863D36A0F15F3534189BBD','RELEASED','2018-11-22 22:21:26',0), ('2018_12_09_01_auth.sql','576C2A11BE671D8420FA3EB705E594E381ECCC56','RELEASED','2018-12-09 14:49:17',0); |
