thomascube
2008-04-02 5ec11328c7bbc91b2960b8b4a2db3aaaa8edbaba
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
);
@@ -131,7 +131,7 @@
    data text NOT NULL
);
ALTER TABLE "cache" ADD INDEX (user_id, cache_key);
--
-- Sequence "message_ids"
@@ -167,4 +167,4 @@
    structure text
);
ALTER TABLE "messages" ADD UNIQUE (cache_key, uid);
ALTER TABLE "messages" ADD UNIQUE (user_id, cache_key, uid);