aboutsummaryrefslogtreecommitdiff
path: root/engine/schema
diff options
context:
space:
mode:
Diffstat (limited to 'engine/schema')
-rw-r--r--engine/schema/mysql.sql12
-rw-r--r--engine/schema/upgrades/2008112501.sql10
2 files changed, 22 insertions, 0 deletions
diff --git a/engine/schema/mysql.sql b/engine/schema/mysql.sql
index bf2833ee4..59f11357b 100644
--- a/engine/schema/mysql.sql
+++ b/engine/schema/mysql.sql
@@ -274,6 +274,18 @@ CREATE TABLE `prefix_hmac_cache` (
KEY `ts` (`ts`)
) ENGINE=MEMORY;
+-- Geocode engine cache
+CREATE TABLE `prefix_geocode_cache` (
+ id int(11) auto_increment,
+ location varchar(128),
+ `lat` varchar(20),
+ `long` varchar(20),
+
+ PRIMARY KEY (`id`),
+ KEY `location` (`location`)
+
+) ENGINE=MEMORY;
+
-- PHP Session storage
CREATE TABLE `prefix_users_sessions` (
`session` varchar(255) NOT NULL,
diff --git a/engine/schema/upgrades/2008112501.sql b/engine/schema/upgrades/2008112501.sql
new file mode 100644
index 000000000..41e41f93e
--- /dev/null
+++ b/engine/schema/upgrades/2008112501.sql
@@ -0,0 +1,10 @@
+CREATE TABLE IF NOT EXISTS `prefix_geocode_cache` (
+ id int(11) auto_increment,
+ location varchar(128),
+ `lat` varchar(20),
+ `long` varchar(20),
+
+ PRIMARY KEY (`id`),
+ KEY `location` (`location`)
+
+) ENGINE=MEMORY; \ No newline at end of file