Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- don't use TRUNCATE on sqlite (#1486374)

  • Loading branch information...
commit 9273c8379098172fb0e3c70ca457cedf71c479b5 1 parent 9e63e28
Aleksander Machniak alecpl authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  SQL/sqlite.update.sql
2  SQL/sqlite.update.sql
@@ -37,7 +37,7 @@ CREATE INDEX ix_cache_created ON cache (created);
-- Updates from version 0.3-stable
-TRUNCATE messages;
+DELETE FROM messages;
DROP INDEX ix_messages_user_cache_uid;
CREATE UNIQUE INDEX ix_messages_user_cache_uid ON messages (user_id,cache_key,uid);
CREATE INDEX ix_messages_index ON messages (user_id,cache_key,idx);
Please sign in to comment.
Something went wrong with that request. Please try again.