diff options
Diffstat (limited to 'SQL/postgres.initial.sql')
-rwxr-xr-x | SQL/postgres.initial.sql | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/SQL/postgres.initial.sql b/SQL/postgres.initial.sql index 55e139603..029afaab3 100755 --- a/SQL/postgres.initial.sql +++ b/SQL/postgres.initial.sql @@ -163,6 +163,7 @@ CREATE TABLE "messages" ( 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 (cache_key, uid); |