From 233010e2fdf23e1e64432b69faf18b626bf446f1 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Mon, 29 Jan 2024 21:41:17 -0800 Subject: [PATCH] Debug output --- datasette_upload_csvs/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/datasette_upload_csvs/__init__.py b/datasette_upload_csvs/__init__.py index 6e19394..be33963 100644 --- a/datasette_upload_csvs/__init__.py +++ b/datasette_upload_csvs/__init__.py @@ -183,6 +183,7 @@ def mark_complete(conn): def transform_columns(conn): database = sqlite_utils.Database(conn) with conn: + print("Transforming types to", tracker.types) database[table_name].transform(types=tracker.types) await db.execute_write_fn(transform_columns)