summaryrefslogtreecommitdiff
path: root/SQL/postgres/2013052500.sql
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/postgres/2013052500.sql
parenta963a2b38cf571b29543d17edadc46f91caba3aa (diff)
Added shared (cross-user) cache
Diffstat (limited to 'SQL/postgres/2013052500.sql')
-rw-r--r--SQL/postgres/2013052500.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/SQL/postgres/2013052500.sql b/SQL/postgres/2013052500.sql
new file mode 100644
index 000000000..471e57176
--- /dev/null
+++ b/SQL/postgres/2013052500.sql
@@ -0,0 +1,8 @@
+CREATE TABLE "cache_shared" (
+ cache_key varchar(255) NOT NULL,
+ created timestamp with time zone DEFAULT now() NOT NULL,
+ data text NOT NULL
+);
+
+CREATE INDEX cache_shared_cache_key_idx ON "cache_shared" (cache_key);
+CREATE INDEX cache_shared_created_idx ON "cache_shared" (created);