alecpl
2011-11-10 46cdbf074e59a33fafc8a71406dbb9984a48bc95
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)
);