]> git.donarmstrong.com Git - roundcube.git/blob - SQL/postgres.update.sql
Imported Upstream version 0.1
[roundcube.git] / SQL / postgres.update.sql
1 -- RoundCube Webmail update script for Postres databases
2 -- Updates from version 0.1-beta and older
3
4 ALTER TABLE "messages" DROP body;
5 ALTER TABLE "messages" ADD structure TEXT;
6 ALTER TABLE "messages" ADD UNIQUE (user_id, cache_key, uid);
7
8 ALTER TABLE "identities" ADD html_signature INTEGER;
9 ALTER TABLE "identities" ALTER html_signature SET DEFAULT 0;
10 UPDATE identities SET html_signature = 0;
11 ALTER TABLE "identities" ALTER html_signature SET NOT NULL;
12