From 50a4fb722d29c3e53f7b148a41aeda901d02a264 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Fri, 28 May 2021 22:00:45 -0700 Subject: [PATCH] Revert "Better help for sqlite-utils create-table" This reverts commit b3d11f52250e3863786c9797b49b94062d04d2fa. --- docs/dogs.db | 0 sqlite_utils/cli.py | 12 +----------- 2 files changed, 1 insertion(+), 11 deletions(-) create mode 100644 docs/dogs.db diff --git a/docs/dogs.db b/docs/dogs.db new file mode 100644 index 0000000..e69de29 diff --git a/sqlite_utils/cli.py b/sqlite_utils/cli.py index 68bd986..52de64a 100644 --- a/sqlite_utils/cli.py +++ b/sqlite_utils/cli.py @@ -922,17 +922,7 @@ def upsert( def create_table( path, table, columns, pk, not_null, default, fk, ignore, replace, load_extension ): - """ - Add a table with the specified columns. Columns should be specified using - name, type pairs, for example: - - \b - sqlite-utils create-table my.db people \\ - id integer \\ - name text \\ - height float \\ - photo blob --pk id - """ + "Add a table with the specified columns" db = sqlite_utils.Database(path) _load_extensions(db, load_extension) if len(columns) % 2 == 1: