{"html_url": "https://github.com/simonw/sqlite-utils/issues/43#issuecomment-514202279", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/43", "id": 514202279, "node_id": "MDEyOklzc3VlQ29tbWVudDUxNDIwMjI3OQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-07-23T13:09:05Z", "updated_at": "2019-07-23T13:09:05Z", "author_association": "OWNER", "body": "Won't fix, I don't think this can be done in an elegant way.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 470691999, "label": ".add_column() doesn't match indentation of initial creation"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/43#issuecomment-513481607", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/43", "id": 513481607, "node_id": "MDEyOklzc3VlQ29tbWVudDUxMzQ4MTYwNw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-07-20T16:36:34Z", "updated_at": "2019-07-20T16:36:34Z", "author_association": "OWNER", "body": "Hmm... is it even possible to fix this within sqlite-utils? Maybe this is a SQLite implementation detail.\r\n\r\nIt's possible to update the schema itself - that's how we add missing foreign key constraints - but it seems a little bit of overkill to use the writable schema when adding a new column JUST to get prettier indentation:\r\n\r\nhttps://github.com/simonw/sqlite-utils/blob/c88f0a4d4617ff832aa728aac1da3500548c3137/sqlite_utils/db.py#L316-L326", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 470691999, "label": ".add_column() doesn't match indentation of initial creation"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/43#issuecomment-513481493", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/43", "id": 513481493, "node_id": "MDEyOklzc3VlQ29tbWVudDUxMzQ4MTQ5Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-07-20T16:34:54Z", "updated_at": "2019-07-20T16:34:54Z", "author_association": "OWNER", "body": "Here's the implementation in `create_table()`:\r\n\r\nhttps://github.com/simonw/sqlite-utils/blob/c88f0a4d4617ff832aa728aac1da3500548c3137/sqlite_utils/db.py#L235-L249\r\n\r\nAnd here's where `add_column()` does its thing:\r\n\r\nhttps://github.com/simonw/sqlite-utils/blob/c88f0a4d4617ff832aa728aac1da3500548c3137/sqlite_utils/db.py#L547-L552", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 470691999, "label": ".add_column() doesn't match indentation of initial creation"}, "performed_via_github_app": null}