summaryrefslogtreecommitdiff
path: root/SQL/postgres.update.sql
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-08-06 10:32:37 +0200
committerAleksander Machniak <alec@alec.pl>2012-08-06 10:32:37 +0200
commit83121ece3348bfe09bb1026eace79a74a5ccf2c9 (patch)
tree9f64f143b8a859db3930a649a404cdcc46434660 /SQL/postgres.update.sql
parenta025cddbc5643d1e8c9d2bf733a101417213d91b (diff)
- Removed redundant cache.cache_id column (#1488528)
Diffstat (limited to 'SQL/postgres.update.sql')
-rw-r--r--SQL/postgres.update.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/SQL/postgres.update.sql b/SQL/postgres.update.sql
index 7e9d34fa9..a8a9cdda8 100644
--- a/SQL/postgres.update.sql
+++ b/SQL/postgres.update.sql
@@ -175,3 +175,8 @@ ALTER TABLE "session" ALTER sess_id TYPE varchar(128);
DROP INDEX contacts_user_id_idx;
CREATE INDEX contacts_user_id_idx ON contacts USING btree (user_id, del);
ALTER TABLE contacts ALTER email TYPE text;
+
+-- Updates from version 0.8
+
+ALTER TABLE cache DROP COLUMN cache_id;
+DROP SEQUENCE cache_ids;