Created
September 11, 2013 16:43
-
-
Save errzey/6526383 to your computer and use it in GitHub Desktop.
Never miss a deleted message in Skype
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
In OSX: cd ~/Library/Application\ Support/Skype/<yourusername> | |
sqlite3 main.db | |
CREATE TABLE ILOGURDELETEDMESSAGES (AUTHOR TEXT, MESSAGE TEXT); | |
CREATE TRIGGER LOLILOGB4UREMOVE AFTER UPDATE On Messages | |
FOR EACH ROW | |
WHEN (NEW.body_xml ="") | |
BEGIN | |
INSERT INTO ILOGURDELETEDMESSAGES (AUTHOR, MESSAGE) VALUES (NEW.author, OLD.body_xml); | |
END; | |
Profit. |
Haha I can't believe I never saw these comments.
I would have to look at skype again to find further workarounds.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now Skype drops all triggers on each start. Any other smart ideas? :)