From 50abd557184326f173357b50e7593dc3f452be91 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Sat, 25 May 2013 09:37:46 -0400 Subject: [PATCH] Added shared (cross-user) cache --- SQL/postgres.initial.sql | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/SQL/postgres.initial.sql b/SQL/postgres.initial.sql index f3b368f..c54f05f 100644 --- a/SQL/postgres.initial.sql +++ b/SQL/postgres.initial.sql @@ -174,6 +174,20 @@ CREATE INDEX cache_created_idx ON "cache" (created); -- +-- Table "cache_shared" +-- Name: cache_shared; Type: TABLE; Schema: public; Owner: postgres +-- + +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); + +-- -- Table "cache_index" -- Name: cache_index; Type: TABLE; Schema: public; Owner: postgres -- @@ -274,4 +288,4 @@ value text ); -INSERT INTO system (name, value) VALUES ('roundcube-version', '2013042700'); +INSERT INTO system (name, value) VALUES ('roundcube-version', '2013052500'); -- Gitblit v1.9.1