summaryrefslogtreecommitdiff
path: root/SQL/postgres.update.sql
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-09-19 06:15:58 +0000
committeralecpl <alec@alec.pl>2011-09-19 06:15:58 +0000
commit7b2bf71c332563517b8f0f30c6f214913dc4169e (patch)
treeb1a02f541458ca09e7f45d74bbbb015c72841eff /SQL/postgres.update.sql
parent609d3923d7dc674263ddea990387dbf5488fabc6 (diff)
- Add lost cache_index.valid column definition
Diffstat (limited to 'SQL/postgres.update.sql')
-rw-r--r--SQL/postgres.update.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/SQL/postgres.update.sql b/SQL/postgres.update.sql
index 741495fbe..7e650af7a 100644
--- a/SQL/postgres.update.sql
+++ b/SQL/postgres.update.sql
@@ -135,6 +135,7 @@ CREATE TABLE cache_index (
REFERENCES users (user_id) ON DELETE CASCADE ON UPDATE CASCADE,
mailbox varchar(255) NOT NULL,
changed timestamp with time zone DEFAULT now() NOT NULL,
+ valid smallint NOT NULL DEFAULT 0,
data text NOT NULL,
PRIMARY KEY (user_id, mailbox)
);