{"html_url": "https://github.com/simonw/sqlite-utils/issues/467#issuecomment-1229311612", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/467", "id": 1229311612, "node_id": "IC_kwDOCGYnMM5JRc58", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-08-27T23:19:41Z", "updated_at": "2022-08-27T23:19:41Z", "author_association": "OWNER", "body": "Documentation:\r\n\r\n- https://sqlite-utils.datasette.io/en/latest/python-api.html#explicitly-creating-a-table\r\n- https://sqlite-utils.datasette.io/en/latest/cli.html#creating-tables\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1348169997, "label": "Mechanism for ensuring a table has all the columns"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/467#issuecomment-1229206306", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/467", "id": 1229206306, "node_id": "IC_kwDOCGYnMM5JRDMi", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-08-27T14:47:04Z", "updated_at": "2022-08-27T14:47:04Z", "author_association": "OWNER", "body": "I could add a `--transform` option to `sqlite-utils create-table` too.", "reactions": "{\"total_count\": 1, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 1}", "issue": {"value": 1348169997, "label": "Mechanism for ensuring a table has all the columns"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/467#issuecomment-1224388810", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/467", "id": 1224388810, "node_id": "IC_kwDOCGYnMM5I-rDK", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-08-23T17:21:16Z", "updated_at": "2022-08-23T17:21:16Z", "author_association": "OWNER", "body": "Also needs comprehensive tests and documentation.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1348169997, "label": "Mechanism for ensuring a table has all the columns"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/467#issuecomment-1224386951", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/467", "id": 1224386951, "node_id": "IC_kwDOCGYnMM5I-qmH", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-08-23T17:20:07Z", "updated_at": "2022-08-23T17:20:07Z", "author_association": "OWNER", "body": "Example of that prototype working:\r\n```pycon\r\n>>> from sqlite_utils import Database\r\n>>> db = Database(memory=True)\r\n>>> db[\"dogs\"].create({\"id\": int, \"name\": str}, pk=\"id\")\r\n