add woodwind.cfg to .gitignore
This commit is contained in:
parent
0d5dcce74e
commit
3dad2d530e
2 changed files with 13 additions and 4 deletions
9
.gitignore
vendored
9
.gitignore
vendored
|
@ -1,10 +1,11 @@
|
||||||
|
*.egg-info
|
||||||
|
*.pyc
|
||||||
*~
|
*~
|
||||||
.sass-cacheconfig.py
|
|
||||||
celerybeat-schedule
|
|
||||||
.sass-cache
|
.sass-cache
|
||||||
|
.sass-cacheconfig.py
|
||||||
__pycache__
|
__pycache__
|
||||||
|
celerybeat-schedule
|
||||||
celerybeat-schedule*
|
celerybeat-schedule*
|
||||||
config.py
|
config.py
|
||||||
venv
|
venv
|
||||||
*.egg-info
|
woodwind.cfg
|
||||||
*.pyc
|
|
||||||
|
|
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