add woodwind.cfg to .gitignore

This commit is contained in:
Kyle Mahan 2015-04-19 07:49:03 -07:00
parent 0d5dcce74e
commit 3dad2d530e
2 changed files with 13 additions and 4 deletions

8
NOTES.md Normal file
View file

@ -0,0 +1,8 @@
Clear out orphaned feeds
```
delete from entry_to_reply_context where entry_id in (select id from entry where feed_id in (select id from feed where not exists (select * from users_to_feeds where feed_id = feed.id)));
delete from entry_to_reply_context where context_id in (select id from entry where feed_id in (select id from feed where not exists (select * from users_to_feeds where feed_id = feed.id)));
delete from entry where feed_id in (select id from feed where not exists (select * from users_to_feeds where feed_id = feed.id));
delete from feed where not exists (select * from users_to_feeds where feed_id = feed.id);
```