# frozen_string_literal: true

class CreateCountries < ActiveRecord::Migration[6.1]
  def change
    create_table :countries, id: :uuid do |t|
      t.string :iso
      t.text :name
      t.text :nice_name
      t.string :iso3
      t.integer :num_code
      t.integer :phone_code
      t.timestamps
    end

    insert_country_data
  end

  def insert_country_data
    execute <<-SQL
      INSERT INTO "countries" ("iso3", "iso", "name", "nice_name", "num_code", "phone_code", "created_at", "updated_at") VALUES
      ('AFG', 'AF', 'AFGHANISTAN', 'Afghanistan', 4, 93, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('ALB', 'AL', 'ALBANIA', 'Albania', 8, 355, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('DZA', 'DZ', 'ALGERIA', 'Algeria', 12, 213, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('ASM', 'AS', 'AMERICAN SAMOA', 'American Samoa', 16, 1684, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('AND', 'AD', 'ANDORRA', 'Andorra', 20, 376, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('AGO', 'AO', 'ANGOLA', 'Angola', 24, 244, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('AIA', 'AI', 'ANGUILLA', 'Anguilla', 660, 1264, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        (NULL, 'AQ', 'ANTARCTICA', 'Antarctica', NULL, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('ATG', 'AG', 'ANTIGUA AND BARBUDA', 'Antigua and Barbuda', 28, 1268, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('ARG', 'AR', 'ARGENTINA', 'Argentina', 32, 54, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('ARM', 'AM', 'ARMENIA', 'Armenia', 51, 374, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('ABW', 'AW', 'ARUBA', 'Aruba', 533, 297, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('AUS', 'AU', 'AUSTRALIA', 'Australia', 36, 61, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('AUT', 'AT', 'AUSTRIA', 'Austria', 40, 43, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('AZE', 'AZ', 'AZERBAIJAN', 'Azerbaijan', 31, 994, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('BHS', 'BS', 'BAHAMAS', 'Bahamas', 44, 1242, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('BHR', 'BH', 'BAHRAIN', 'Bahrain', 48, 973, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('BGD', 'BD', 'BANGLADESH', 'Bangladesh', 50, 880, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('BRB', 'BB', 'BARBADOS', 'Barbados', 52, 1246, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('BLR', 'BY', 'BELARUS', 'Belarus', 112, 375, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('BEL', 'BE', 'BELGIUM', 'Belgium', 56, 32, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('BLZ', 'BZ', 'BELIZE', 'Belize', 84, 501, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('BEN', 'BJ', 'BENIN', 'Benin', 204, 229, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('BMU', 'BM', 'BERMUDA', 'Bermuda', 60, 1441, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('BTN', 'BT', 'BHUTAN', 'Bhutan', 64, 975, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('BOL', 'BO', 'BOLIVIA', 'Bolivia', 68, 591, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('BIH', 'BA', 'BOSNIA AND HERZEGOVINA', 'Bosnia and Herzegovina', 70, 387, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('BWA', 'BW', 'BOTSWANA', 'Botswana', 72, 267, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        (NULL, 'BV', 'BOUVET ISLAND', 'Bouvet Island', NULL, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('BRA', 'BR', 'BRAZIL', 'Brazil', 76, 55, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        (NULL, 'IO', 'BRITISH INDIAN OCEAN TERRITORY', 'British Indian Ocean Territory', NULL, 246, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('BRN', 'BN', 'BRUNEI DARUSSALAM', 'Brunei Darussalam', 96, 673, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('BGR', 'BG', 'BULGARIA', 'Bulgaria', 100, 359, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('BFA', 'BF', 'BURKINA FASO', 'Burkina Faso', 854, 226, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('BDI', 'BI', 'BURUNDI', 'Burundi', 108, 257, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('KHM', 'KH', 'CAMBODIA', 'Cambodia', 116, 855, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('CMR', 'CM', 'CAMEROON', 'Cameroon', 120, 237, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('CAN', 'CA', 'CANADA', 'Canada', 124, 1, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('CPV', 'CV', 'CAPE VERDE', 'Cape Verde', 132, 238, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('CYM', 'KY', 'CAYMAN ISLANDS', 'Cayman Islands', 136, 1345, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('CAF', 'CF', 'CENTRAL AFRICAN REPUBLIC', 'Central African Republic', 140, 236, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('TCD', 'TD', 'CHAD', 'Chad', 148, 235, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('CHL', 'CL', 'CHILE', 'Chile', 152, 56, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('CHN', 'CN', 'CHINA', 'China', 156, 86, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        (NULL, 'CX', 'CHRISTMAS ISLAND', 'Christmas Island', NULL, 61, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        (NULL, 'CC', 'COCOS (KEELING) ISLANDS', 'Cocos (Keeling) Islands', NULL, 672, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('COL', 'CO', 'COLOMBIA', 'Colombia', 170, 57, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('COM', 'KM', 'COMOROS', 'Comoros', 174, 269, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('COG', 'CG', 'CONGO', 'Congo', 178, 242, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('COD', 'CD', 'CONGO, THE DEMOCRATIC REPUBLIC OF THE', 'Congo, the Democratic Republic of the', 180, 242, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('COK', 'CK', 'COOK ISLANDS', 'Cook Islands', 184, 682, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('CRI', 'CR', 'COSTA RICA', 'Costa Rica', 188, 506, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('CIV', 'CI', 'COTE D''IVOIRE', 'Cote D''Ivoire', 384, 225, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('HRV', 'HR', 'CROATIA', 'Croatia', 191, 385, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('CUB', 'CU', 'CUBA', 'Cuba', 192, 53, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('CYP', 'CY', 'CYPRUS', 'Cyprus', 196, 357, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('CZE', 'CZ', 'CZECH REPUBLIC', 'Czech Republic', 203, 420, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('DNK', 'DK', 'DENMARK', 'Denmark', 208, 45, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('DJI', 'DJ', 'DJIBOUTI', 'Djibouti', 262, 253, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('DMA', 'DM', 'DOMINICA', 'Dominica', 212, 1767, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('DOM', 'DO', 'DOMINICAN REPUBLIC', 'Dominican Republic', 214, 1809, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('ECU', 'EC', 'ECUADOR', 'Ecuador', 218, 593, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('EGY', 'EG', 'EGYPT', 'Egypt', 818, 20, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('SLV', 'SV', 'EL SALVADOR', 'El Salvador', 222, 503, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('GNQ', 'GQ', 'EQUATORIAL GUINEA', 'Equatorial Guinea', 226, 240, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('ERI', 'ER', 'ERITREA', 'Eritrea', 232, 291, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('EST', 'EE', 'ESTONIA', 'Estonia', 233, 372, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('ETH', 'ET', 'ETHIOPIA', 'Ethiopia', 231, 251, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('FLK', 'FK', 'FALKLAND ISLANDS (MALVINAS)', 'Falkland Islands (Malvinas)', 238, 500, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('FRO', 'FO', 'FAROE ISLANDS', 'Faroe Islands', 234, 298, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('FJI', 'FJ', 'FIJI', 'Fiji', 242, 679, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('FIN', 'FI', 'FINLAND', 'Finland', 246, 358, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('FRA', 'FR', 'FRANCE', 'France', 250, 33, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('GUF', 'GF', 'FRENCH GUIANA', 'French Guiana', 254, 594, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('PYF', 'PF', 'FRENCH POLYNESIA', 'French Polynesia', 258, 689, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        (NULL, 'TF', 'FRENCH SOUTHERN TERRITORIES', 'French Southern Territories', NULL, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('GAB', 'GA', 'GABON', 'Gabon', 266, 241, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('GMB', 'GM', 'GAMBIA', 'Gambia', 270, 220, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('GEO', 'GE', 'GEORGIA', 'Georgia', 268, 995, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('DEU', 'DE', 'GERMANY', 'Germany', 276, 49, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('GHA', 'GH', 'GHANA', 'Ghana', 288, 233, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('GIB', 'GI', 'GIBRALTAR', 'Gibraltar', 292, 350, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('GRC', 'GR', 'GREECE', 'Greece', 300, 30, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('GRL', 'GL', 'GREENLAND', 'Greenland', 304, 299, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('GRD', 'GD', 'GRENADA', 'Grenada', 308, 1473, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('GLP', 'GP', 'GUADELOUPE', 'Guadeloupe', 312, 590, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('GUM', 'GU', 'GUAM', 'Guam', 316, 1671, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('GTM', 'GT', 'GUATEMALA', 'Guatemala', 320, 502, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('GIN', 'GN', 'GUINEA', 'Guinea', 324, 224, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('GNB', 'GW', 'GUINEA-BISSAU', 'Guinea-Bissau', 624, 245, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('GUY', 'GY', 'GUYANA', 'Guyana', 328, 592, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('HTI', 'HT', 'HAITI', 'Haiti', 332, 509, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        (NULL, 'HM', 'HEARD ISLAND AND MCDONALD ISLANDS', 'Heard Island and Mcdonald Islands', NULL, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('VAT', 'VA', 'HOLY SEE (VATICAN CITY STATE)', 'Holy See (Vatican City State)', 336, 39, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('HND', 'HN', 'HONDURAS', 'Honduras', 340, 504, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('HKG', 'HK', 'HONG KONG', 'Hong Kong', 344, 852, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('HUN', 'HU', 'HUNGARY', 'Hungary', 348, 36, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('ISL', 'IS', 'ICELAND', 'Iceland', 352, 354, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('IND', 'IN', 'INDIA', 'India', 356, 91, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('IDN', 'ID', 'INDONESIA', 'Indonesia', 360, 62, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('IRN', 'IR', 'IRAN, ISLAMIC REPUBLIC OF', 'Iran, Islamic Republic of', 364, 98, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('IRQ', 'IQ', 'IRAQ', 'Iraq', 368, 964, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('IRL', 'IE', 'IRELAND', 'Ireland', 372, 353, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('ISR', 'IL', 'ISRAEL', 'Israel', 376, 972, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('ITA', 'IT', 'ITALY', 'Italy', 380, 39, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('JAM', 'JM', 'JAMAICA', 'Jamaica', 388, 1876, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('JPN', 'JP', 'JAPAN', 'Japan', 392, 81, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('JOR', 'JO', 'JORDAN', 'Jordan', 400, 962, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('KAZ', 'KZ', 'KAZAKHSTAN', 'Kazakhstan', 398, 7, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('KEN', 'KE', 'KENYA', 'Kenya', 404, 254, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('KIR', 'KI', 'KIRIBATI', 'Kiribati', 296, 686, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('PRK', 'KP', 'KOREA, DEMOCRATIC PEOPLE''S REPUBLIC OF', 'Korea, Democratic People''s Republic of', 408, 850, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('KOR', 'KR', 'KOREA, REPUBLIC OF', 'Korea, Republic of', 410, 82, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('KWT', 'KW', 'KUWAIT', 'Kuwait', 414, 965, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('KGZ', 'KG', 'KYRGYZSTAN', 'Kyrgyzstan', 417, 996, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('LAO', 'LA', 'LAO PEOPLE''S DEMOCRATIC REPUBLIC', 'Lao People''s Democratic Republic', 418, 856, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('LVA', 'LV', 'LATVIA', 'Latvia', 428, 371, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('LBN', 'LB', 'LEBANON', 'Lebanon', 422, 961, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('LSO', 'LS', 'LESOTHO', 'Lesotho', 426, 266, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('LBR', 'LR', 'LIBERIA', 'Liberia', 430, 231, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('LBY', 'LY', 'LIBYAN ARAB JAMAHIRIYA', 'Libyan Arab Jamahiriya', 434, 218, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('LIE', 'LI', 'LIECHTENSTEIN', 'Liechtenstein', 438, 423, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('LTU', 'LT', 'LITHUANIA', 'Lithuania', 440, 370, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('LUX', 'LU', 'LUXEMBOURG', 'Luxembourg', 442, 352, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('MAC', 'MO', 'MACAO', 'Macao', 446, 853, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('MKD', 'MK', 'MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF', 'Macedonia, the Former Yugoslav Republic of', 807, 389, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('MDG', 'MG', 'MADAGASCAR', 'Madagascar', 450, 261, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('MWI', 'MW', 'MALAWI', 'Malawi', 454, 265, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('MYS', 'MY', 'MALAYSIA', 'Malaysia', 458, 60, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('MDV', 'MV', 'MALDIVES', 'Maldives', 462, 960, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('MLI', 'ML', 'MALI', 'Mali', 466, 223, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('MLT', 'MT', 'MALTA', 'Malta', 470, 356, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('MHL', 'MH', 'MARSHALL ISLANDS', 'Marshall Islands', 584, 692, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('MTQ', 'MQ', 'MARTINIQUE', 'Martinique', 474, 596, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('MRT', 'MR', 'MAURITANIA', 'Mauritania', 478, 222, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('MUS', 'MU', 'MAURITIUS', 'Mauritius', 480, 230, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        (NULL, 'YT', 'MAYOTTE', 'Mayotte', NULL, 269, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('MEX', 'MX', 'MEXICO', 'Mexico', 484, 52, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('FSM', 'FM', 'MICRONESIA, FEDERATED STATES OF', 'Micronesia, Federated States of', 583, 691, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('MDA', 'MD', 'MOLDOVA, REPUBLIC OF', 'Moldova, Republic of', 498, 373, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('MCO', 'MC', 'MONACO', 'Monaco', 492, 377, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('MNG', 'MN', 'MONGOLIA', 'Mongolia', 496, 976, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('MSR', 'MS', 'MONTSERRAT', 'Montserrat', 500, 1664, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('MAR', 'MA', 'MOROCCO', 'Morocco', 504, 212, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('MOZ', 'MZ', 'MOZAMBIQUE', 'Mozambique', 508, 258, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('MMR', 'MM', 'MYANMAR', 'Myanmar', 104, 95, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('NAM', 'NA', 'NAMIBIA', 'Namibia', 516, 264, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('NRU', 'NR', 'NAURU', 'Nauru', 520, 674, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('NPL', 'NP', 'NEPAL', 'Nepal', 524, 977, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('NLD', 'NL', 'NETHERLANDS', 'Netherlands', 528, 31, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('ANT', 'AN', 'NETHERLANDS ANTILLES', 'Netherlands Antilles', 530, 599, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('NCL', 'NC', 'NEW CALEDONIA', 'New Caledonia', 540, 687, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('NZL', 'NZ', 'NEW ZEALAND', 'New Zealand', 554, 64, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('NIC', 'NI', 'NICARAGUA', 'Nicaragua', 558, 505, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('NER', 'NE', 'NIGER', 'Niger', 562, 227, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('NGA', 'NG', 'NIGERIA', 'Nigeria', 566, 234, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('NIU', 'NU', 'NIUE', 'Niue', 570, 683, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('NFK', 'NF', 'NORFOLK ISLAND', 'Norfolk Island', 574, 672, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('MNP', 'MP', 'NORTHERN MARIANA ISLANDS', 'Northern Mariana Islands', 580, 1670, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('NOR', 'NO', 'NORWAY', 'Norway', 578, 47, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('OMN', 'OM', 'OMAN', 'Oman', 512, 968, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('PAK', 'PK', 'PAKISTAN', 'Pakistan', 586, 92, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('PLW', 'PW', 'PALAU', 'Palau', 585, 680, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        (NULL, 'PS', 'PALESTINIAN TERRITORY, OCCUPIED', 'Palestinian Territory, Occupied', NULL, 970, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('PAN', 'PA', 'PANAMA', 'Panama', 591, 507, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('PNG', 'PG', 'PAPUA NEW GUINEA', 'Papua New Guinea', 598, 675, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('PRY', 'PY', 'PARAGUAY', 'Paraguay', 600, 595, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('PER', 'PE', 'PERU', 'Peru', 604, 51, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('PHL', 'PH', 'PHILIPPINES', 'Philippines', 608, 63, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('PCN', 'PN', 'PITCAIRN', 'Pitcairn', 612, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('POL', 'PL', 'POLAND', 'Poland', 616, 48, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('PRT', 'PT', 'PORTUGAL', 'Portugal', 620, 351, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('PRI', 'PR', 'PUERTO RICO', 'Puerto Rico', 630, 1787, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('QAT', 'QA', 'QATAR', 'Qatar', 634, 974, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('REU', 'RE', 'REUNION', 'Reunion', 638, 262, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('ROM', 'RO', 'ROMANIA', 'Romania', 642, 40, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('RUS', 'RU', 'RUSSIAN FEDERATION', 'Russian Federation', 643, 70, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('RWA', 'RW', 'RWANDA', 'Rwanda', 646, 250, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('SHN', 'SH', 'SAINT HELENA', 'Saint Helena', 654, 290, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('KNA', 'KN', 'SAINT KITTS AND NEVIS', 'Saint Kitts and Nevis', 659, 1869, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('LCA', 'LC', 'SAINT LUCIA', 'Saint Lucia', 662, 1758, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('SPM', 'PM', 'SAINT PIERRE AND MIQUELON', 'Saint Pierre and Miquelon', 666, 508, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('VCT', 'VC', 'SAINT VINCENT AND THE GRENADINES', 'Saint Vincent and the Grenadines', 670, 1784, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('WSM', 'WS', 'SAMOA', 'Samoa', 882, 684, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('SMR', 'SM', 'SAN MARINO', 'San Marino', 674, 378, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('STP', 'ST', 'SAO TOME AND PRINCIPE', 'Sao Tome and Principe', 678, 239, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('SAU', 'SA', 'SAUDI ARABIA', 'Saudi Arabia', 682, 966, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('SEN', 'SN', 'SENEGAL', 'Senegal', 686, 221, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        (NULL, 'CS', 'SERBIA AND MONTENEGRO', 'Serbia and Montenegro', NULL, 381, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('SYC', 'SC', 'SEYCHELLES', 'Seychelles', 690, 248, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('SLE', 'SL', 'SIERRA LEONE', 'Sierra Leone', 694, 232, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('SGP', 'SG', 'SINGAPORE', 'Singapore', 702, 65, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('SVK', 'SK', 'SLOVAKIA', 'Slovakia', 703, 421, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('SVN', 'SI', 'SLOVENIA', 'Slovenia', 705, 386, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('SLB', 'SB', 'SOLOMON ISLANDS', 'Solomon Islands', 90, 677, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('SOM', 'SO', 'SOMALIA', 'Somalia', 706, 252, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('ZAF', 'ZA', 'SOUTH AFRICA', 'South Africa', 710, 27, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        (NULL, 'GS', 'SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS', 'South Georgia and the South Sandwich Islands', NULL, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('ESP', 'ES', 'SPAIN', 'Spain', 724, 34, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('LKA', 'LK', 'SRI LANKA', 'Sri Lanka', 144, 94, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('SDN', 'SD', 'SUDAN', 'Sudan', 736, 249, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('SUR', 'SR', 'SURINAME', 'Suriname', 740, 597, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('SJM', 'SJ', 'SVALBARD AND JAN MAYEN', 'Svalbard and Jan Mayen', 744, 47, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('SWZ', 'SZ', 'SWAZILAND', 'Swaziland', 748, 268, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('SWE', 'SE', 'SWEDEN', 'Sweden', 752, 46, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('CHE', 'CH', 'SWITZERLAND', 'Switzerland', 756, 41, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('SYR', 'SY', 'SYRIAN ARAB REPUBLIC', 'Syrian Arab Republic', 760, 963, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('TWN', 'TW', 'TAIWAN, PROVINCE OF CHINA', 'Taiwan, Province of China', 158, 886, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('TJK', 'TJ', 'TAJIKISTAN', 'Tajikistan', 762, 992, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('TZA', 'TZ', 'TANZANIA, UNITED REPUBLIC OF', 'Tanzania, United Republic of', 834, 255, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('THA', 'TH', 'THAILAND', 'Thailand', 764, 66, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        (NULL, 'TL', 'TIMOR-LESTE', 'Timor-Leste', NULL, 670, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('TGO', 'TG', 'TOGO', 'Togo', 768, 228, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('TKL', 'TK', 'TOKELAU', 'Tokelau', 772, 690, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('TON', 'TO', 'TONGA', 'Tonga', 776, 676, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('TTO', 'TT', 'TRINIDAD AND TOBAGO', 'Trinidad and Tobago', 780, 1868, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('TUN', 'TN', 'TUNISIA', 'Tunisia', 788, 216, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('TUR', 'TR', 'TURKEY', 'Turkey', 792, 90, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('TKM', 'TM', 'TURKMENISTAN', 'Turkmenistan', 795, 7370, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('TCA', 'TC', 'TURKS AND CAICOS ISLANDS', 'Turks and Caicos Islands', 796, 1649, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('TUV', 'TV', 'TUVALU', 'Tuvalu', 798, 688, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('UGA', 'UG', 'UGANDA', 'Uganda', 800, 256, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('UKR', 'UA', 'UKRAINE', 'Ukraine', 804, 380, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('ARE', 'AE', 'UNITED ARAB EMIRATES', 'United Arab Emirates', 784, 971, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('GBR', 'GB', 'UNITED KINGDOM', 'United Kingdom', 826, 44, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('USA', 'US', 'UNITED STATES', 'United States', 840, 1, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        (NULL, 'UM', 'UNITED STATES MINOR OUTLYING ISLANDS', 'United States Minor Outlying Islands', NULL, 1, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('URY', 'UY', 'URUGUAY', 'Uruguay', 858, 598, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('UZB', 'UZ', 'UZBEKISTAN', 'Uzbekistan', 860, 998, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('VUT', 'VU', 'VANUATU', 'Vanuatu', 548, 678, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('VEN', 'VE', 'VENEZUELA', 'Venezuela', 862, 58, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('VNM', 'VN', 'VIET NAM', 'Viet Nam', 704, 84, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('VGB', 'VG', 'VIRGIN ISLANDS, BRITISH', 'Virgin Islands, British', 92, 1284, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('VIR', 'VI', 'VIRGIN ISLANDS, U.S.', 'Virgin Islands, U.s.', 850, 1340, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('WLF', 'WF', 'WALLIS AND FUTUNA', 'Wallis and Futuna', 876, 681, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('ESH', 'EH', 'WESTERN SAHARA', 'Western Sahara', 732, 212, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('YEM', 'YE', 'YEMEN', 'Yemen', 887, 967, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('ZMB', 'ZM', 'ZAMBIA', 'Zambia', 894, 260, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
        ('ZWE', 'ZW', 'ZIMBABWE', 'Zimbabwe', 716, 263, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP);
    SQL
  end
end
