summaryrefslogtreecommitdiff
path: root/SQL/sqlite
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-05-25 15:37:46 +0200
committerAleksander Machniak <alec@alec.pl>2013-05-25 15:37:46 +0200
commit50abd557184326f173357b50e7593dc3f452be91 (patch)
treedc5f097ba3eaac279e9f0021172e7dbbc878a706 /SQL/sqlite
parenta963a2b38cf571b29543d17edadc46f91caba3aa (diff)
Added shared (cross-user) cache
Diffstat (limited to 'SQL/sqlite')
-rw-r--r--SQL/sqlite/2013052500.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/SQL/sqlite/2013052500.sql b/SQL/sqlite/2013052500.sql
new file mode 100644
index 000000000..19ae1b110
--- /dev/null
+++ b/SQL/sqlite/2013052500.sql
@@ -0,0 +1,8 @@
+CREATE TABLE cache_shared (
+ cache_key varchar(255) NOT NULL,
+ created datetime NOT NULL default '0000-00-00 00:00:00',
+ data text NOT NULL
+);
+
+CREATE INDEX ix_cache_shared_cache_key ON cache_shared(cache_key);
+CREATE INDEX ix_cache_shared_created ON cache_shared(created);