mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-19 23:14:09 +02:00
Fix incorrect create-table cli description
The description for `create-table` was duplicated from `create-index`.
This commit is contained in:
parent
22f1d9e199
commit
cdeb7d7da7
1 changed files with 1 additions and 1 deletions
|
|
@ -905,7 +905,7 @@ def upsert(
|
||||||
def create_table(
|
def create_table(
|
||||||
path, table, columns, pk, not_null, default, fk, ignore, replace, load_extension
|
path, table, columns, pk, not_null, default, fk, ignore, replace, load_extension
|
||||||
):
|
):
|
||||||
"Add an index to the specified table covering the specified columns"
|
"Add a table with the specified columns"
|
||||||
db = sqlite_utils.Database(path)
|
db = sqlite_utils.Database(path)
|
||||||
_load_extensions(db, load_extension)
|
_load_extensions(db, load_extension)
|
||||||
if len(columns) % 2 == 1:
|
if len(columns) % 2 == 1:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue