Commit 26ee2a66 authored by cividesk's avatar cividesk
parent b3f3db42
......@@ -238,27 +238,35 @@ CREATE TABLE IF NOT EXISTS `common_country` (
`name` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
`iso2` char(2) CHARACTER SET ascii COLLATE ascii_bin NOT NULL,
`iso3` char(3) CHARACTER SET ascii COLLATE ascii_bin NOT NULL,
PRIMARY KEY (`name`)
PRIMARY KEY (`iso2`),
UNIQUE KEY `name` (`name`),
UNIQUE KEY `iso3` (`iso3`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `common_country`
--
INSERT INTO `common_country` (`name`, `iso2`, `iso3`) VALUES
('Afghanistan', 'AF', 'AFG'),
('Aland', 'AX', 'ALA'),
('Albania', 'AL', 'ALB'),
('Algeria', 'DZ', 'DZA'),
('American Samoa', 'AS', 'ASM'),
('Andorra', 'AD', 'AND'),
('Angola', 'AO', 'AGO'),
('Anguilla', 'AI', 'AIA'),
('Antarctica', 'AQ', 'ATA'),
('Antigua and Barbuda', 'AG', 'ATG'),
('Argentina', 'AR', 'ARG'),
('Armenia', 'AM', 'ARM'),
('Aruba', 'AW', 'ABW'),
('Ascension', 'AC', 'ASC'),
('Australia', 'AU', 'AUS'),
('Austria', 'AT', 'AUT'),
('Azerbaijan', 'AZ', 'AZE'),
('Bahamas', 'BS', 'BHS'),
('Bahamas, The', 'BS', 'BHS'),
('Bahrain', 'BH', 'BHR'),
('Bangladesh', 'BD', 'BGD'),
('Barbados', 'BB', 'BRB'),
......@@ -266,11 +274,15 @@ INSERT INTO `common_country` (`name`, `iso2`, `iso3`) VALUES
('Belgium', 'BE', 'BEL'),
('Belize', 'BZ', 'BLZ'),
('Benin', 'BJ', 'BEN'),
('Bermuda', 'BM', 'BMU'),
('Bhutan', 'BT', 'BTN'),
('Bolivia', 'BO', 'BOL'),
('Bosnia and Herzegovina', 'BA', 'BIH'),
('Botswana', 'BW', 'BWA'),
('Bouvet Island', 'BV', 'BVT'),
('Brazil', 'BR', 'BRA'),
('British Indian Ocean Territory', 'IO', 'IOT'),
('British Virgin Islands', 'VG', 'VGB'),
('Brunei', 'BN', 'BRN'),
('Bulgaria', 'BG', 'BGR'),
('Burkina Faso', 'BF', 'BFA'),
......@@ -279,18 +291,20 @@ INSERT INTO `common_country` (`name`, `iso2`, `iso3`) VALUES
('Cameroon', 'CM', 'CMR'),
('Canada', 'CA', 'CAN'),
('Cape Verde', 'CV', 'CPV'),
('Cayman Islands', 'KY', 'CYM'),
('Central African Republic', 'CF', 'CAF'),
('Chad', 'TD', 'TCD'),
('Chile', 'CL', 'CHL'),
('China', 'CN', 'CHN'),
('China, People''s Republic of', 'CN', 'CHN'),
('Christmas Island', 'CX', 'CXR'),
('Cocos (Keeling) Islands', 'CC', 'CCK'),
('Colombia', 'CO', 'COL'),
('Comoros', 'KM', 'COM'),
('Congo, The Democratic Republic of the', 'CD', 'COD'),
('Congo, Republic of the', 'CG', 'COG'),
('Congo', 'CG', 'COG'),
('Congo (Democratic Republic of the)', 'CD', 'COD'),
('Cook Islands', 'CK', 'COK'),
('Costa Rica', 'CR', 'CRI'),
('Ivory Coast', 'CI', 'CIV'),
('Cote d''Ivoire', 'CI', 'CIV'),
('Côte d''Ivoire', 'CI', 'CIV'),
('Croatia', 'HR', 'HRV'),
('Cuba', 'CU', 'CUB'),
('Curaçao', 'CW', 'CUW'),
......@@ -307,22 +321,34 @@ INSERT INTO `common_country` (`name`, `iso2`, `iso3`) VALUES
('Eritrea', 'ER', 'ERI'),
('Estonia', 'EE', 'EST'),
('Ethiopia', 'ET', 'ETH'),
('Falkland Islands (Islas Malvinas)', 'FK', 'FLK'),
('Faroe Islands', 'FO', 'FRO'),
('Fiji', 'FJ', 'FJI'),
('Finland', 'FI', 'FIN'),
('France', 'FR', 'FRA'),
('French Guiana', 'GF', 'GUF'),
('French Polynesia', 'PF', 'PYF'),
('French Southern and Antarctic Lands', 'TF', 'ATF'),
('Gabon', 'GA', 'GAB'),
('Gambia, The', 'GM', 'GMB'),
('Georgia', 'GE', 'GEO'),
('Germany', 'DE', 'DEU'),
('Ghana', 'GH', 'GHA'),
('Gibraltar', 'GI', 'GIB'),
('Greece', 'GR', 'GRC'),
('Greenland', 'GL', 'GRL'),
('Grenada', 'GD', 'GRD'),
('Guadeloupe', 'GP', 'GLP'),
('Guam', 'GU', 'GUM'),
('Guatemala', 'GT', 'GTM'),
('Guernsey', 'GG', 'GGY'),
('Guinea', 'GN', 'GIN'),
('Guinea-Bissau', 'GW', 'GNB'),
('Guyana', 'GY', 'GUY'),
('Haiti', 'HT', 'HTI'),
('Heard Island and McDonald Islands', 'HM', 'HMD'),
('Honduras', 'HN', 'HND'),
('Hong Kong', 'HK', 'HKG'),
('Hungary', 'HU', 'HUN'),
('Iceland', 'IS', 'ISL'),
('India', 'IN', 'IND'),
......@@ -330,16 +356,18 @@ INSERT INTO `common_country` (`name`, `iso2`, `iso3`) VALUES
('Iran', 'IR', 'IRN'),
('Iraq', 'IQ', 'IRQ'),
('Ireland', 'IE', 'IRL'),
('Isle of Man', 'IM', 'IMN'),
('Israel', 'IL', 'ISR'),
('Italy', 'IT', 'ITA'),
('Jamaica', 'JM', 'JAM'),
('Japan', 'JP', 'JPN'),
('Jersey', 'JE', 'JEY'),
('Jordan', 'JO', 'JOR'),
('Kazakhstan', 'KZ', 'KAZ'),
('Kenya', 'KE', 'KEN'),
('Kiribati', 'KI', 'KIR'),
('Korea, North', 'KP', 'PRK'),
('Korea, South', 'KR', 'KOR'),
('Korea (Democratic People''s Republic of)', 'KP', 'PRK'),
('Korea (Republic of)', 'KR', 'KOR'),
('Kuwait', 'KW', 'KWT'),
('Kyrgyzstan', 'KG', 'KGZ'),
('Laos', 'LA', 'LAO'),
......@@ -351,8 +379,8 @@ INSERT INTO `common_country` (`name`, `iso2`, `iso3`) VALUES
('Liechtenstein', 'LI', 'LIE'),
('Lithuania', 'LT', 'LTU'),
('Luxembourg', 'LU', 'LUX'),
('Macedonia, Republic of', 'MK', 'MKD'),
('Macao', 'MO', 'MAC'),
('Macedonia, Republic of', 'MK', 'MKD'),
('Madagascar', 'MG', 'MDG'),
('Malawi', 'MW', 'MWI'),
('Malaysia', 'MY', 'MYS'),
......@@ -360,15 +388,17 @@ INSERT INTO `common_country` (`name`, `iso2`, `iso3`) VALUES
('Mali', 'ML', 'MLI'),
('Malta', 'MT', 'MLT'),
('Marshall Islands', 'MH', 'MHL'),
('Martinique', 'MQ', 'MTQ'),
('Mauritania', 'MR', 'MRT'),
('Mauritius', 'MU', 'MUS'),
('Mayotte', 'YT', 'MYT'),
('Mexico', 'MX', 'MEX'),
('Micronesia', 'FM', 'FSM'),
('Moldova', 'MD', 'MDA'),
('Republic of Moldova', 'MD', 'MDA'),
('Micronesia (Federated States of)', 'FM', 'FSM'),
('Moldava (Republic of)', 'MD', 'MDA'),
('Monaco', 'MC', 'MCO'),
('Mongolia', 'MN', 'MNG'),
('Montenegro', 'ME', 'MNE'),
('Montserrat', 'MS', 'MSR'),
('Morocco', 'MA', 'MAR'),
('Mozambique', 'MZ', 'MOZ'),
('Myanmar (Burma)', 'MM', 'MMR'),
......@@ -376,10 +406,15 @@ INSERT INTO `common_country` (`name`, `iso2`, `iso3`) VALUES
('Nauru', 'NR', 'NRU'),
('Nepal', 'NP', 'NPL'),
('Netherlands', 'NL', 'NLD'),
('Netherlands Antilles', 'AN', 'ANT'),
('New Caledonia', 'NC', 'NCL'),
('New Zealand', 'NZ', 'NZL'),
('Nicaragua', 'NI', 'NIC'),
('Niger', 'NE', 'NER'),
('Nigeria', 'NG', 'NGA'),
('Niue', 'NU', 'NIU'),
('Norfolk Island', 'NF', 'NFK'),
('Northern Mariana Islands', 'MP', 'MNP'),
('Norway', 'NO', 'NOR'),
('Oman', 'OM', 'OMN'),
('Pakistan', 'PK', 'PAK'),
......@@ -390,16 +425,21 @@ INSERT INTO `common_country` (`name`, `iso2`, `iso3`) VALUES
('Paraguay', 'PY', 'PRY'),
('Peru', 'PE', 'PER'),
('Philippines', 'PH', 'PHL'),
('Pitcairn Islands', 'PN', 'PCN'),
('Poland', 'PL', 'POL'),
('Portugal', 'PT', 'PRT'),
('Puerto Rico', 'PR', 'PRI'),
('Qatar', 'QA', 'QAT'),
('Réunion', 'RE', 'REU'),
('Romania', 'RO', 'ROU'),
('Russia', 'RU', 'RUS'),
('Russian Federation', 'RU', 'RUS'),
('Rwanda', 'RW', 'RWA'),
('Saint Barthélemy', 'BL', 'BLM'),
('Saint Helena', 'SH', 'SHN'),
('Saint Kitts and Nevis', 'KN', 'KNA'),
('Saint Lucia', 'LC', 'LCA'),
('Saint Martin', 'MF', 'MAF'),
('Saint Pierre and Miquelon', 'PM', 'SPM'),
('Saint Vincent and the Grenadines', 'VC', 'VCT'),
('Samoa', 'WS', 'WSM'),
('San Marino', 'SM', 'SMR'),
......@@ -411,15 +451,16 @@ INSERT INTO `common_country` (`name`, `iso2`, `iso3`) VALUES
('Sierra Leone', 'SL', 'SLE'),
('Singapore', 'SG', 'SGP'),
('Slovakia', 'SK', 'SVK'),
('Slovak Republic', 'SK', 'SVK'),
('Slovenia', 'SI', 'SVN'),
('Solomon Islands', 'SB', 'SLB'),
('Somalia', 'SO', 'SOM'),
('South Africa', 'ZA', 'ZAF'),
('South Georgia & South Sandwich Islands', 'GS', 'SGS'),
('Spain', 'ES', 'ESP'),
('Sri Lanka', 'LK', 'LKA'),
('Sudan', 'SD', 'SDN'),
('Suriname', 'SR', 'SUR'),
('Svalbard', 'SJ', 'SJM'),
('Swaziland', 'SZ', 'SWZ'),
('Sweden', 'SE', 'SWE'),
('Switzerland', 'CH', 'CHE'),
......@@ -430,95 +471,32 @@ INSERT INTO `common_country` (`name`, `iso2`, `iso3`) VALUES
('Thailand', 'TH', 'THA'),
('Timor-Leste (East Timor)', 'TL', 'TLS'),
('Togo', 'TG', 'TGO'),
('Tokelau', 'TK', 'TKL'),
('Tonga', 'TO', 'TON'),
('Trinidad and Tobago', 'TT', 'TTO'),
('Tristan da Cunha', 'TA', 'TAA'),
('Tunisia', 'TN', 'TUN'),
('Turkey', 'TR', 'TUR'),
('Turkmenistan', 'TM', 'TKM'),
('Turks and Caicos Islands', 'TC', 'TCA'),
('Tuvalu', 'TV', 'TUV'),
('U.S. Virgin Islands', 'VI', 'VIR'),
('Uganda', 'UG', 'UGA'),
('Ukraine', 'UA', 'UKR'),
('United Arab Emirates', 'AE', 'ARE'),
('United Kingdom', 'GB', 'GBR'),
('United States', 'US', 'USA'),
('United States Minor Outlying Islands', 'UM', 'UMI'),
('Uruguay', 'UY', 'URY'),
('Uzbekistan', 'UZ', 'UZB'),
('Vanuatu', 'VU', 'VUT'),
('Vatican City', 'VA', 'VAT'),
('Venezuela', 'VE', 'VEN'),
('Vietnam', 'VN', 'VNM'),
('Wallis and Futuna', 'WF', 'WLF'),
('Yemen', 'YE', 'YEM'),
('Zambia', 'ZM', 'ZMB'),
('Zimbabwe', 'ZW', 'ZWE'),
('Pridnestrovie (Transnistria)', 'MD', 'MDA'),
('South Ossetia', 'GE', 'GEO'),
('Ashmore and Cartier Islands', 'AU', 'AUS'),
('Christmas Island', 'CX', 'CXR'),
('Cocos (Keeling) Islands', 'CC', 'CCK'),
('Coral Sea Islands', 'AU', 'AUS'),
('Heard Island and McDonald Islands', 'HM', 'HMD'),
('Norfolk Island', 'NF', 'NFK'),
('New Caledonia', 'NC', 'NCL'),
('French Polynesia', 'PF', 'PYF'),
('Mayotte', 'YT', 'MYT'),
('Saint Barthelemy', 'GP', 'GLP'),
('Saint Martin', 'GP', 'GLP'),
('Saint Pierre and Miquelon', 'PM', 'SPM'),
('Wallis and Futuna', 'WF', 'WLF'),
('French Southern and Antarctic Lands', 'TF', 'ATF'),
('Clipperton Island', 'PF', 'PYF'),
('Bouvet Island', 'BV', 'BVT'),
('Cook Islands', 'CK', 'COK'),
('Niue', 'NU', 'NIU'),
('Tokelau', 'TK', 'TKL'),
('Guernsey', 'GG', 'GGY'),
('Isle of Man', 'IM', 'IMN'),
('Jersey', 'JE', 'JEY'),
('Anguilla', 'AI', 'AIA'),
('Bermuda', 'BM', 'BMU'),
('British Indian Ocean Territory', 'IO', 'IOT'),
('British Virgin Islands', 'VG', 'VGB'),
('Cayman Islands', 'KY', 'CYM'),
('Falkland Islands (Islas Malvinas)', 'FK', 'FLK'),
('Gibraltar', 'GI', 'GIB'),
('Montserrat', 'MS', 'MSR'),
('Pitcairn Islands', 'PN', 'PCN'),
('Saint Helena', 'SH', 'SHN'),
('South Georgia & South Sandwich Islands', 'GS', 'SGS'),
('Turks and Caicos Islands', 'TC', 'TCA'),
('Northern Mariana Islands', 'MP', 'MNP'),
('Puerto Rico', 'PR', 'PRI'),
('American Samoa', 'AS', 'ASM'),
('Baker Island', 'UM', 'UMI'),
('Guam', 'GU', 'GUM'),
('Howland Island', 'UM', 'UMI'),
('Jarvis Island', 'UM', 'UMI'),
('Johnston Atoll', 'UM', 'UMI'),
('Kingman Reef', 'UM', 'UMI'),
('Midway Islands', 'UM', 'UMI'),
('Navassa Island', 'UM', 'UMI'),
('Palmyra Atoll', 'UM', 'UMI'),
('U.S. Virgin Islands', 'VI', 'VIR'),
('Wake Island', 'UM', 'UMI'),
('Hong Kong', 'HK', 'HKG'),
('Macau', 'MO', 'MAC'),
('Faroe Islands', 'FO', 'FRO'),
('Greenland', 'GL', 'GRL'),
('French Guiana', 'GF', 'GUF'),
('Guadeloupe', 'GP', 'GLP'),
('Martinique', 'MQ', 'MTQ'),
('Reunion', 'RE', 'REU'),
('Aland', 'AX', 'ALA'),
('Aruba', 'AW', 'ABW'),
('Netherlands Antilles', 'AN', 'ANT'),
('Svalbard', 'SJ', 'SJM'),
('Ascension', 'AC', 'ASC'),
('Tristan da Cunha', 'TA', 'TAA'),
('Australian Antarctic Territory', 'AQ', 'ATA'),
('Ross Dependency', 'AQ', 'ATA'),
('Peter I Island', 'AQ', 'ATA'),
('Queen Maud Land', 'AQ', 'ATA'),
('British Antarctic Territory', 'AQ', 'ATA');
('Zimbabwe', 'ZW', 'ZWE');
--
-- Table structure for table `common_contactrange`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment