From bfedc84832d98c4cbc6429ef439f97916624ede9 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Wed, 13 Mar 2024 08:31:29 -0700 Subject: [PATCH] Removed unused create table, refs #17 --- datasette_extract/__init__.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/datasette_extract/__init__.py b/datasette_extract/__init__.py index 46d7ff5..291fefb 100644 --- a/datasette_extract/__init__.py +++ b/datasette_extract/__init__.py @@ -10,22 +10,6 @@ import ulid -CREATE_JOB_TABLE_SQL = """ -create table if not exists _extract_jobs ( - id integer primary key, - database_name text, - table_name text, - content text, - custom_prompt text, -- for custom system prompt - properties text, -- JSON function properties definition - started_at text, -- ISO8601 when added - finished_at text, -- ISO8601 when completed or cancelled - row_count integer, -- starts at 0 - error text -); -""" - - @hookimpl def register_permissions(datasette): return [