From 1119cf74af4e3fdc0b81e0667ba7f76f25313cc3 Mon Sep 17 00:00:00 2001
From: marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>
Date: Thu, 14 May 2009 13:50:49 +0000
Subject: Fixed geocode stuff + version bump

git-svn-id: https://code.elgg.org/elgg/trunk@3289 36083f99-b078-4883-b0ff-0f9b5a30f544
---
 engine/schema/upgrades/2009051401.sql | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 engine/schema/upgrades/2009051401.sql

(limited to 'engine/schema/upgrades/2009051401.sql')

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`);
-- 
cgit v1.2.3

