alecpl
2011-10-11 52c2aa3ea50cf7cd93b8c3fc553d7c24974e7c44
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)
);