{"html_url": "https://github.com/simonw/sqlite-utils/issues/2#issuecomment-466807308", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/2", "id": 466807308, "node_id": "MDEyOklzc3VlQ29tbWVudDQ2NjgwNzMwOA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-02-24T19:18:19Z", "updated_at": "2019-02-24T19:18:25Z", "author_association": "OWNER", "body": "Python API:\r\n\r\n db[\"articles\"].add_foreign_key(\"author_id\", \"authors\", \"id\")\r\n\r\nCLI:\r\n\r\n $ sqlite-utils add-foreign-key articles author_id authors id\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 349850687, "label": "Mechanism for adding foreign keys to an existing table"}, "performed_via_github_app": null}