aboutsummaryrefslogtreecommitdiff
path: root/engine/schema/upgrades
diff options
context:
space:
mode:
Diffstat (limited to 'engine/schema/upgrades')
-rw-r--r--engine/schema/upgrades/2009051401.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/engine/schema/upgrades/2009051401.sql b/engine/schema/upgrades/2009051401.sql
new file mode 100644
index 000000000..57348968e
--- /dev/null
+++ b/engine/schema/upgrades/2009051401.sql
@@ -0,0 +1,5 @@
+-- Fix error in geocode cache table
+DELETE FROM `prefix_geocode_cache`;
+
+ALTER TABLE `prefix_geocode_cache` DROP KEY `location`;
+ALTER TABLE `prefix_geocode_cache` ADD UNIQUE KEY `location` (`location`);