Created
December 21, 2011 12:46
-
-
Save snelis/1505922 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Empty tweet table | |
TRUNCATE TABLE `tweets_feeds`; | |
-- Empty tweet archive table | |
TRUNCATE TABLE `tweets_archive`; | |
-- Empty feeds archive table | |
TRUNCATE TABLE `predef_archives` | |
-- Delete all feeds which are archived | |
DELETE FROM `predef_feeds` WHERE `Archive` = 1; | |
-- Add index to the ReplyID column | |
ALTER TABLE `tweets_feeds` ADD INDEX (`ReplyID`); | |
-- Add index to the Active column | |
ALTER TABLE `predef_feeds` ADD INDEX (`Active`); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment