html_url,issue_url,id,node_id,user,user_label,created_at,updated_at,author_association,body,reactions,issue,issue_label,performed_via_github_app https://github.com/simonw/sqlite-utils/issues/112#issuecomment-627036749,https://api.github.com/repos/simonw/sqlite-utils/issues/112,627036749,MDEyOklzc3VlQ29tbWVudDYyNzAzNjc0OQ==,9599,simonw,2020-05-12T00:27:24Z,2020-05-12T00:27:24Z,OWNER,Here's an example of some code that would be cleaner with this mechanism: https://github.com/dogsheep/swarm-to-sqlite/blob/f4a82633da927cde672c9d9af92930bfca2e3ddf/swarm_to_sqlite/utils.py#L120-L143,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",616271236,"add_foreign_key(...., ignore=True)", https://github.com/simonw/sqlite-utils/issues/112#issuecomment-627036475,https://api.github.com/repos/simonw/sqlite-utils/issues/112,627036475,MDEyOklzc3VlQ29tbWVudDYyNzAzNjQ3NQ==,9599,simonw,2020-05-12T00:26:25Z,2020-05-12T00:26:48Z,OWNER,"Question: if you use `ignore=True` should it still raise an error if one of the columns you referenced does not exist? That's tricky. I'm leaning towards ""that's still an error"". Are we ignoring an already existing foreign key, or ignoring all errors?","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",616271236,"add_foreign_key(...., ignore=True)", https://github.com/simonw/sqlite-utils/issues/112#issuecomment-627035928,https://api.github.com/repos/simonw/sqlite-utils/issues/112,627035928,MDEyOklzc3VlQ29tbWVudDYyNzAzNTkyOA==,9599,simonw,2020-05-12T00:24:16Z,2020-05-12T00:24:51Z,OWNER,"I would add `ignore=True/False` as a parameter here: https://github.com/simonw/sqlite-utils/blob/af3f81b540923f2cf04c76cfa81b0d811c0084bf/sqlite_utils/db.py#L731-L761","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",616271236,"add_foreign_key(...., ignore=True)", https://github.com/simonw/sqlite-utils/issues/112#issuecomment-627036010,https://api.github.com/repos/simonw/sqlite-utils/issues/112,627036010,MDEyOklzc3VlQ29tbWVudDYyNzAzNjAxMA==,9599,simonw,2020-05-12T00:24:37Z,2020-05-12T00:24:37Z,OWNER,"Here's how it works for `create_view`: https://github.com/simonw/sqlite-utils/blob/af3f81b540923f2cf04c76cfa81b0d811c0084bf/sqlite_utils/db.py#L327-L336","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",616271236,"add_foreign_key(...., ignore=True)",