From 88a7164e960637f99fb9fd933f6049bcad8933ca Mon Sep 17 00:00:00 2001 From: etienne Date: Tue, 27 May 2014 15:38:11 +0200 Subject: [PATCH 1/3] add Hong Kong to country list --- setup/insert.sql | 8 ++++++-- setup/update/2.0.2.sql | 10 +++++++++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/setup/insert.sql b/setup/insert.sql index 2da553904..766612557 100644 --- a/setup/insert.sql +++ b/setup/insert.sql @@ -408,7 +408,8 @@ INSERT INTO `country` (`id`, `area_id`, `isocode`, `isoalpha2`, `isoalpha3`, `by (265, 7, '540', 'NC', 'NCL', 0, 0, NOW(), NOW()), (266, 7, '258', 'PF', 'PYF', 0, 0, NOW(), NOW()), (267, 7, '876', 'WF', 'WLF', 0, 0, NOW(), NOW()), -(268, 4, '840', 'US', 'USA', 0, 0, NOW(), NOW()); +(268, 4, '840', 'US', 'USA', 0, 0, NOW(), NOW()), +(269, 5, '344', 'HK', 'HKG', 0, 0, NOW(), NOW()); INSERT INTO `country_i18n` (`id`, `locale`, `title`, `description`, `chapo`, `postscriptum`) VALUES (1, 'en_US', 'Afghanistan', '', '', ''), @@ -1199,7 +1200,10 @@ INSERT INTO `country_i18n` (`id`, `locale`, `title`, `description`, `chapo`, `po (267, 'fr_FR', 'Wallis-et-Futuna', '', '', ''), (268, 'en_US', 'USA - Alabama', '', '', ''), (268, 'es_ES', 'USA - Alabama', '', '', ''), -(268, 'fr_FR', 'USA - Alabama', '', '', ''); +(268, 'fr_FR', 'USA - Alabama', '', '', ''), +(269, 'en_US', 'Hong Kong', '', '', ''), +(269, 'er_ES', 'Hong Kong', '', '', ''), +(269, 'fr_FR', 'Hong Kong', '', '', ''); INSERT INTO `tax` (`id`, `type`, `serialized_requirements`, `created_at`, `updated_at`) VALUES diff --git a/setup/update/2.0.2.sql b/setup/update/2.0.2.sql index 630149095..dbcbd978f 100644 --- a/setup/update/2.0.2.sql +++ b/setup/update/2.0.2.sql @@ -113,5 +113,13 @@ CREATE TABLE `coupon_customer_count` ON DELETE CASCADE ) ENGINE=InnoDB CHARACTER SET='utf8'; +INSERT INTO `country` (`id`, `area_id`, `isocode`, `isoalpha2`, `isoalpha3`, `by_default`, `shop_country`, `created_at`, `updated_at`) VALUES +(269, 5, '344', 'HK', 'HKG', 0, 0, NOW(), NOW()); + +INSERT INTO `country_i18n` (`id`, `locale`, `title`, `description`, `chapo`, `postscriptum`) VALUES +(269, 'en_US', 'Hong Kong', '', '', ''), +(269, 'er_ES', 'Hong Kong', '', '', ''), +(269, 'fr_FR', 'Hong Kong', '', '', ''); -SET FOREIGN_KEY_CHECKS = 1; \ No newline at end of file + +SET FOREIGN_KEY_CHECKS = 1; From 5395c76bf3c819e3d8fde44e2bf90e236fee21df Mon Sep 17 00:00:00 2001 From: etienne roudeix Date: Wed, 28 May 2014 14:56:04 +0200 Subject: [PATCH 2/3] Update insert.sql --- setup/insert.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/insert.sql b/setup/insert.sql index 766612557..4f4d61103 100644 --- a/setup/insert.sql +++ b/setup/insert.sql @@ -1202,7 +1202,7 @@ INSERT INTO `country_i18n` (`id`, `locale`, `title`, `description`, `chapo`, `po (268, 'es_ES', 'USA - Alabama', '', '', ''), (268, 'fr_FR', 'USA - Alabama', '', '', ''), (269, 'en_US', 'Hong Kong', '', '', ''), -(269, 'er_ES', 'Hong Kong', '', '', ''), +(269, 'es_ES', 'Hong Kong', '', '', ''), (269, 'fr_FR', 'Hong Kong', '', '', ''); INSERT INTO `tax` (`id`, `type`, `serialized_requirements`, `created_at`, `updated_at`) From 507a52a20f5be250603e4c691692a3e57e7c36b4 Mon Sep 17 00:00:00 2001 From: etienne roudeix Date: Wed, 28 May 2014 14:56:46 +0200 Subject: [PATCH 3/3] Update 2.0.2.sql --- setup/update/2.0.2.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/update/2.0.2.sql b/setup/update/2.0.2.sql index dbcbd978f..58668cf29 100644 --- a/setup/update/2.0.2.sql +++ b/setup/update/2.0.2.sql @@ -118,7 +118,7 @@ INSERT INTO `country` (`id`, `area_id`, `isocode`, `isoalpha2`, `isoalpha3`, `by INSERT INTO `country_i18n` (`id`, `locale`, `title`, `description`, `chapo`, `postscriptum`) VALUES (269, 'en_US', 'Hong Kong', '', '', ''), -(269, 'er_ES', 'Hong Kong', '', '', ''), +(269, 'es_ES', 'Hong Kong', '', '', ''), (269, 'fr_FR', 'Hong Kong', '', '', '');