SQL/mysql.update.sql | ●●●●● patch | view | raw | blame | history | |
SQL/postgres.update.sql | ●●●●● patch | view | raw | blame | history | |
SQL/sqlite.update.sql | ●●●●● patch | view | raw | blame | history |
SQL/mysql.update.sql
@@ -49,3 +49,5 @@ ALTER TABLE `messages` ADD INDEX `index_index` (`user_id`, `cache_key`, `idx`); TRUNCATE `messages`; SQL/postgres.update.sql
@@ -40,3 +40,4 @@ -- Updates from version 0.3-stable CREATE INDEX messages_index_idx ON messages (user_id, cache_key, idx); TRUNCATE messages; SQL/sqlite.update.sql
@@ -40,3 +40,4 @@ 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); TRUNCATE messages;