{"html_url": "https://github.com/simonw/sqlite-utils/issues/88#issuecomment-591768604", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/88", "id": 591768604, "node_id": "MDEyOklzc3VlQ29tbWVudDU5MTc2ODYwNA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-02-27T04:03:03Z", "updated_at": "2020-02-27T04:03:03Z", "author_association": "OWNER", "body": "`drop table resources_fts` drops the FTS table and the other ones that it created (resources_fts_data, resources_fts_idx, resources_fts_docsize, resources_fts_config) - but keeps the triggers.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 571805300, "label": "table.disable_fts() method and \"sqlite-utils disable-fts ...\" command"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/88#issuecomment-591769046", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/88", "id": 591769046, "node_id": "MDEyOklzc3VlQ29tbWVudDU5MTc2OTA0Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-02-27T04:05:15Z", "updated_at": "2020-02-27T04:05:15Z", "author_association": "OWNER", "body": "I can reliably get the list of triggers to delete from `select name from sqlite_master where type = 'trigger' and tbl_name = 'resources';`", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 571805300, "label": "table.disable_fts() method and \"sqlite-utils disable-fts ...\" command"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/88#issuecomment-591769171", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/88", "id": 591769171, "node_id": "MDEyOklzc3VlQ29tbWVudDU5MTc2OTE3MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-02-27T04:05:58Z", "updated_at": "2020-02-27T04:26:31Z", "author_association": "OWNER", "body": "Strange - https://www.sqlite.org/lang_droptrigger.html says \"Note that triggers are automatically dropped when the associated table is dropped\" but that doesn't seem to be true in my experimenting.\r\n\r\nUPDATE: no that makes sense - the triggers are on `resources` which still exists, it was `resources_fts` that was dropped.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 571805300, "label": "table.disable_fts() method and \"sqlite-utils disable-fts ...\" command"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/88#issuecomment-591769373", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/88", "id": 591769373, "node_id": "MDEyOklzc3VlQ29tbWVudDU5MTc2OTM3Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-02-27T04:06:47Z", "updated_at": "2020-02-27T04:06:47Z", "author_association": "OWNER", "body": "Looks like safest option is to loop through those trigger names and run `DROP TRIGGER IF EXISTS foo` on each one.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 571805300, "label": "table.disable_fts() method and \"sqlite-utils disable-fts ...\" command"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/88#issuecomment-591769759", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/88", "id": 591769759, "node_id": "MDEyOklzc3VlQ29tbWVudDU5MTc2OTc1OQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-02-27T04:08:29Z", "updated_at": "2020-02-27T04:08:29Z", "author_association": "OWNER", "body": "I think the method should be called `table.disable_fts()` - the opposite of `table.enable_fts(...)`.\r\n\r\nThere should be a `sqlite-utils disable-fts database.db tablename` command to match it.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 571805300, "label": "table.disable_fts() method and \"sqlite-utils disable-fts ...\" command"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/86#issuecomment-591770623", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/86", "id": 591770623, "node_id": "MDEyOklzc3VlQ29tbWVudDU5MTc3MDYyMw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-02-27T04:12:39Z", "updated_at": "2020-02-27T04:12:39Z", "author_association": "OWNER", "body": "I pushed a branch with my experiment in it, but I'm going to fix this by throwing an error on `[` or `]` in a column name instead - I won't implement the changes from that branch.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 564579430, "label": "Problem with square bracket in CSV column name"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/82#issuecomment-591771532", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/82", "id": 591771532, "node_id": "MDEyOklzc3VlQ29tbWVudDU5MTc3MTUzMg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-02-27T04:16:30Z", "updated_at": "2020-02-27T04:16:30Z", "author_association": "OWNER", "body": "Closing as can't reproduce.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 559197745, "label": "Tutorial command no longer works"}, "performed_via_github_app": null}