aboutsummaryrefslogtreecommitdiff
path: root/engine/schema/upgrades
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-05-14 13:50:49 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-05-14 13:50:49 +0000
commit1119cf74af4e3fdc0b81e0667ba7f76f25313cc3 (patch)
treec08e719f5857618ac9d31ba71c346e463c05d024 /engine/schema/upgrades
parentcc2793708d645c7409576dd8cfca255eecfd01b6 (diff)
downloadelgg-1119cf74af4e3fdc0b81e0667ba7f76f25313cc3.tar.gz
elgg-1119cf74af4e3fdc0b81e0667ba7f76f25313cc3.tar.bz2
Fixed geocode stuff + version bump
git-svn-id: https://code.elgg.org/elgg/trunk@3289 36083f99-b078-4883-b0ff-0f9b5a30f544
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`);