diff --git a/docs/cli-reference.rst b/docs/cli-reference.rst index 82b4b6c..153e5f9 100644 --- a/docs/cli-reference.rst +++ b/docs/cli-reference.rst @@ -886,6 +886,8 @@ See :ref:`cli_create_table`. height float \ photo blob --pk id + Valid column types are text, integer, float and blob. + Options: --pk TEXT Column to use as primary key --not-null TEXT Columns that should be created as NOT NULL diff --git a/sqlite_utils/cli.py b/sqlite_utils/cli.py index 5fcc95a..d25b1df 100644 --- a/sqlite_utils/cli.py +++ b/sqlite_utils/cli.py @@ -1477,6 +1477,8 @@ def create_table( name text \\ height float \\ photo blob --pk id + + Valid column types are text, integer, float and blob. """ db = sqlite_utils.Database(path) _load_extensions(db, load_extension)