Commit e6d79560 authored by DaveD's avatar DaveD

update Portugal provinces

parent 5e8de310
......@@ -9,3 +9,39 @@ UPDATE civicrm_state_province s
on c.id = s.country_id AND c.name = 'Portugal'
AND s.name = 'Colmbra'
SET s.name = 'Coimbra';
UPDATE civicrm_state_province s
INNER JOIN civicrm_country c
on c.id = s.country_id AND c.name = 'Portugal'
AND s.name = 'Braganca'
SET s.name = 'Bragança';
UPDATE civicrm_state_province s
INNER JOIN civicrm_country c
on c.id = s.country_id AND c.name = 'Portugal'
AND s.name = 'Ovora'
SET s.name = 'Évora';
UPDATE civicrm_state_province s
INNER JOIN civicrm_country c
on c.id = s.country_id AND c.name = 'Portugal'
AND s.name = 'Santarem'
SET s.name = 'Santarém';
UPDATE civicrm_state_province s
INNER JOIN civicrm_country c
on c.id = s.country_id AND c.name = 'Portugal'
AND s.name = 'Setubal'
SET s.name = 'Setúbal';
UPDATE civicrm_state_province s
INNER JOIN civicrm_country c
on c.id = s.country_id AND c.name = 'Portugal'
AND s.name = 'Regiao Autonoma dos Acores'
SET s.name = 'Região Autónoma dos Açores';
UPDATE civicrm_state_province s
INNER JOIN civicrm_country c
on c.id = s.country_id AND c.name = 'Portugal'
AND s.name = 'Regiao Autonoma da Madeira'
SET s.name = 'Região Autónoma da Madeira';
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2566,23 +2566,23 @@ INSERT INTO civicrm_state_province (id, country_id, abbreviation, name) VALUES
(4126, 1173, "01", "Aveiro"),
(4127, 1173, "02", "Beja"),
(4128, 1173, "03", "Braga"),
(4129, 1173, "04", "Braganca"),
(4129, 1173, "04", "Bragança"),
(4130, 1173, "05", "Castelo Branco"),
(4131, 1173, "06", "Coimbra"),
(4132, 1173, "07", "Ovora"),
(4132, 1173, "07", "Évora"),
(4133, 1173, "08", "Faro"),
(4134, 1173, "09", "Guarda"),
(4135, 1173, "10", "Leiria"),
(4136, 1173, "11", "Lisboa"),
(4137, 1173, "12", "Portalegre"),
(4138, 1173, "13", "Porto"),
(4139, 1173, "14", "Santarem"),
(4140, 1173, "15", "Setubal"),
(4139, 1173, "14", "Santarém"),
(4140, 1173, "15", "Setúbal"),
(4141, 1173, "16", "Viana do Castelo"),
(4142, 1173, "17", "Vila Real"),
(4143, 1173, "18", "Viseu"),
(4144, 1173, "20", "Regiao Autonoma dos Acores"),
(4145, 1173, "30", "Regiao Autonoma da Madeira"),
(4144, 1173, "20", "Região Autónoma dos Açores"),
(4145, 1173, "30", "Região Autónoma da Madeira"),
(4146, 1168, "ASU", "Asuncion"),
(4147, 1168, "16", "Alto Paraguay"),
(4148, 1168, "10", "Alto Parana"),
......
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