{"html_url": "https://github.com/simonw/datasette/issues/979#issuecomment-1375801928", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/979", "id": 1375801928, "node_id": "IC_kwDOBm6k_c5SARJI", "user": {"value": 9599, "label": "simonw"}, "created_at": "2023-01-09T15:32:22Z", "updated_at": "2023-01-09T15:32:22Z", "author_association": "OWNER", "body": "This will not be part of the new default JSON design. It will be handled by an ?_extra instead.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 710650633, "label": "Default table view JSON should include CREATE TABLE"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/979#issuecomment-700343373", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/979", "id": 700343373, "node_id": "MDEyOklzc3VlQ29tbWVudDcwMDM0MzM3Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-28T23:56:27Z", "updated_at": "2020-09-28T23:56:27Z", "author_association": "OWNER", "body": "This would benefit https://github.com/simonw/datasette-import-table - which currently ignores the `CREATE TABLE` and derives the schema by inserting rows.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 710650633, "label": "Default table view JSON should include CREATE TABLE"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/979#issuecomment-700343229", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/979", "id": 700343229, "node_id": "MDEyOklzc3VlQ29tbWVudDcwMDM0MzIyOQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-09-28T23:55:55Z", "updated_at": "2020-09-28T23:55:55Z", "author_association": "OWNER", "body": "Here's the code that adds it to the HTML context: https://github.com/simonw/datasette/blob/c11383e6284e000b2641569457efa16ac9e0d6ae/datasette/views/table.py#L835-L837", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 710650633, "label": "Default table view JSON should include CREATE TABLE"}, "performed_via_github_app": null}