Created
May 19, 2017 18:51
-
-
Save AlexJLP/648157eaf948ca13e37283eb6c01cd40 to your computer and use it in GitHub Desktop.
Opencart Countries to seperate Geozones
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Adds all countries as geo zones individually | |
INSERT INTO oc_zone_to_geo_zone (country_id, geo_zone_id) SELECT `country_id`, `geo_zone_id` FROM `oc_country`, `oc_geo_zone` WHERE oc_country.name = oc_geo_zone.name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment