alecpl
2011-10-21 7e50b4361c7094bb33fced2ef96b95acd4d87640
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)
);