diff --git a/docs/cli-reference.rst b/docs/cli-reference.rst index 000f88f..fd1199f 100644 --- a/docs/cli-reference.rst +++ b/docs/cli-reference.rst @@ -930,10 +930,10 @@ See :ref:`cli_create_table`. sqlite-utils create-table my.db people \ id integer \ name text \ - height float \ + height real \ photo blob --pk id - Valid column types are text, integer, float and blob. + Valid column types are text, integer, real, float and blob. Options: --pk TEXT Column to use as primary key diff --git a/sqlite_utils/cli.py b/sqlite_utils/cli.py index c6496d4..905963f 100644 --- a/sqlite_utils/cli.py +++ b/sqlite_utils/cli.py @@ -1634,10 +1634,10 @@ def create_table( sqlite-utils create-table my.db people \\ id integer \\ name text \\ - height float \\ + height real \\ photo blob --pk id - Valid column types are text, integer, float and blob. + Valid column types are text, integer, real, float and blob. """ db = sqlite_utils.Database(path) _register_db_for_cleanup(db)