thomascube
2008-02-04 e581e741537ce97b23e5439d23d4f3179872ed9b
SQL/postgres.initial.sql
old mode 100755 new mode 100644
@@ -36,7 +36,7 @@
    sess_id character varying(40) DEFAULT ''::character varying PRIMARY KEY,
    created timestamp with time zone DEFAULT now() NOT NULL,
    changed timestamp with time zone DEFAULT now() NOT NULL,
    ip character varying(16) NOT NULL,
    ip character varying(41) NOT NULL,
    vars text NOT NULL
);
@@ -69,7 +69,8 @@
    email character varying(128) NOT NULL,
    "reply-to" character varying(128),
    bcc character varying(128),
    signature text
    signature text,
    html_signature integer DEFAULT 0 NOT NULL
);
@@ -163,6 +164,7 @@
    date timestamp with time zone NOT NULL,
    size integer DEFAULT 0 NOT NULL,
    headers text NOT NULL,
    body text
    structure text
);
ALTER TABLE "messages" ADD UNIQUE (user_id, cache_key, uid);