diff --git a/sqlite_utils/cli.py b/sqlite_utils/cli.py index 0af947d..c940b30 100644 --- a/sqlite_utils/cli.py +++ b/sqlite_utils/cli.py @@ -1474,7 +1474,7 @@ def create_table( @click.argument("table") @click.argument("new_table") @load_extension_option -def create_table(path, table, new_table, load_extension): +def duplicate(path, table, new_table, load_extension): """ Create a duplicate of this table, copying across the schema and all row data. """ diff --git a/sqlite_utils/db.py b/sqlite_utils/db.py index 4755ea2..a2a30f9 100644 --- a/sqlite_utils/db.py +++ b/sqlite_utils/db.py @@ -1,4 +1,3 @@ -from ast import Not from .utils import ( chunks, hash_record,