alecpl
2011-11-14 2f9fdbff62aa278e0a9f4fcfbcbe192b7230e79d
SQL/postgres.update.sql
@@ -101,7 +101,7 @@
TRUNCATE messages;
TRUNCATE cache;
-- Updates from version 0.6-stable
-- Updates from version 0.6
CREATE TABLE dictionary (
    user_id integer DEFAULT NULL
@@ -135,6 +135,7 @@
       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)
);