From 2f6a64f61d561df821d737719941c678dcb1a03c Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sat, 27 Aug 2022 16:11:37 -0700 Subject: [PATCH] Documentation for create-table --transform option, refs #467 --- docs/cli.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/cli.rst b/docs/cli.rst index 3c5c595..d071158 100644 --- a/docs/cli.rst +++ b/docs/cli.rst @@ -1520,6 +1520,8 @@ You can specify foreign key relationships between the tables you are creating us If a table with the same name already exists, you will get an error. You can choose to silently ignore this error with ``--ignore``, or you can replace the existing table with a new, empty table using ``--replace``. +You can also pass ``--transform`` to transform the existing table to match the new schema. See :ref:`python_api_explicit_create` in the Python library documentation for details of how this option works. + .. _cli_duplicate_table: Duplicating tables