]> git.donarmstrong.com Git - roundcube.git/blob - debian/sql/pgsql/0.1~rc1~dfsg-1
Imported Debian patch 0.5.2+dfsg-1
[roundcube.git] / debian / sql / pgsql / 0.1~rc1~dfsg-1
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