diff options
| author | Aokromes <jipr@hotmail.com> | 2013-04-26 08:45:54 -0700 |
|---|---|---|
| committer | Aokromes <jipr@hotmail.com> | 2013-04-26 08:45:54 -0700 |
| commit | 23c5e4b32251d28b9856b981a131302f0b6effbf (patch) | |
| tree | 6f9b785d60c0dedd1f3b432eca93e3f68bc12d1f | |
| parent | 08dfe306187500567ee93924a4188943b03cb93a (diff) | |
| parent | 619d9750121289a8648b379ceb61eade8a7a6fbb (diff) | |
Merge pull request #9712 from Bezo/ip2countrylocksqlupdate
Update auth_database.sql.
| -rw-r--r-- | sql/base/auth_database.sql | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sql/base/auth_database.sql b/sql/base/auth_database.sql index 943be73b20f..05e680f94eb 100644 --- a/sql/base/auth_database.sql +++ b/sql/base/auth_database.sql @@ -126,6 +126,32 @@ CREATE TABLE `ip_banned` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Banned IPs'; /*!40101 SET character_set_client = @saved_cs_client */; +/*Table structure for table `ip2nation` */ + +DROP TABLE IF EXISTS `ip2nation`; + +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; + +/*Table structure for table `ip2nationCountries` */ + +DROP TABLE IF EXISTS `ip2nationCountries`; + +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; + -- -- Dumping data for table `ip_banned` -- |
