home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 614843406

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/dogsheep/github-to-sqlite/issues/27#issuecomment-614843406 https://api.github.com/repos/dogsheep/github-to-sqlite/issues/27 614843406 MDEyOklzc3VlQ29tbWVudDYxNDg0MzQwNg== 9599 2020-04-16T19:11:53Z 2020-04-16T19:20:23Z MEMBER

This didn't quite work: the column type is incorrect, so the foreign key relationship isn't sticking:

https://github-to-sqlite.dogsheep.net/github/repos?organization=53015001

[organization] TEXT REFERENCES [users]([id]) - should be INTEGER.

The problem is that if the first repo inserted has no organization it's set to null, which sqlite-utils derives as a TEXT column.

One solution would be to create the column explicitly with a type, but this could get messy.

I think I want a new sqlite-utils feature for this instead.

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