add woodwind.cfg to .gitignore
This commit is contained in:
parent
0d5dcce74e
commit
3dad2d530e
2 changed files with 13 additions and 4 deletions
8
NOTES.md
Normal file
8
NOTES.md
Normal 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);
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue