Mercurial > hg > rc1
annotate SQL/mysql/2008030300.sql @ 18:e8f197ce1af3
try to reuse same tab for linking back to message
| author | Charlie Root |
|---|---|
| date | Mon, 15 Jan 2018 10:28:32 -0500 |
| parents | 1e000243b222 |
| children |
| rev | line source |
|---|---|
| 0 | 1 -- Updates from version 0.1-stable |
| 2 | |
| 3 TRUNCATE TABLE `messages`; | |
| 4 | |
| 5 ALTER TABLE `messages` | |
| 6 DROP INDEX `idx`, | |
| 7 DROP INDEX `uid`; | |
| 8 | |
| 9 ALTER TABLE `cache` | |
| 10 DROP INDEX `cache_key`, | |
| 11 DROP INDEX `session_id`, | |
| 12 ADD INDEX `user_cache_index` (`user_id`,`cache_key`); | |
| 13 | |
| 14 ALTER TABLE `users` | |
| 15 ADD INDEX `username_index` (`username`), | |
| 16 ADD INDEX `alias_index` (`alias`); |
