{"html_url": "https://github.com/simonw/sqlite-utils/issues/157#issuecomment-689850509", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/157", "id": 689850509, "node_id": "MDEyOklzc3VlQ29tbWVudDY4OTg1MDUwOQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-09T22:14:49Z", "updated_at": "2020-09-09T22:14:49Z", "author_association": "OWNER", "body": "It will call this method: https://github.com/simonw/sqlite-utils/blob/367082e787101fb90901ef3214804ab23a92ce46/sqlite_utils/db.py#L405-L411", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 697179806, "label": "sqlite-utils add-foreign-keys command"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/157#issuecomment-689850289", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/157", "id": 689850289, "node_id": "MDEyOklzc3VlQ29tbWVudDY4OTg1MDI4OQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-09T22:14:19Z", "updated_at": "2020-09-09T22:14:19Z", "author_association": "OWNER", "body": "This can accept four arguments: table, column, other_table, other_column:\r\n```\r\nsqlite-utils add-foreign-keys calands.db \\\r\n units_with_maps ACCESS_TYP ACCESS_TYP id \\\r\n units_with_maps AGNCY_NAME AGNCY_NAME id \\\r\n units_with_maps AGNCY_LEV AGNCY_LEV 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": 697179806, "label": "sqlite-utils add-foreign-keys command"}, "performed_via_github_app": null}