issue_comments: 688501064

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/sqlite-utils/issues/149#issuecomment-688501064 https://api.github.com/repos/simonw/sqlite-utils/issues/149 688501064 MDEyOklzc3VlQ29tbWVudDY4ODUwMTA2NA== 9599 2020-09-07T20:30:15Z 2020-09-07T20:30:38Z OWNER

The second challenge here is cleaning up all of those junk rows in existing *_fts_docsize tables. Doing that just to the demo database from https://github-to-sqlite.dogsheep.net/github.db dropped its size from 22MB to 16MB! Here's the SQL:

DELETE FROM [licenses_fts_docsize] WHERE id NOT IN (
  SELECT rowid FROM [licenses_fts]);

I can do that as part of the existing table.optimize() method, which optimizes FTS tables.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
695319258  
Powered by Datasette · Query took 1.251ms · About: github-to-sqlite