mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 17:34:32 +02:00
Add --ignore to create-index as alias of --if-not-exists, refs #450
This commit is contained in:
parent
40b6947255
commit
2c77f4467e
3 changed files with 13 additions and 13 deletions
|
|
@ -539,6 +539,7 @@ def index_foreign_keys(path, load_extension):
|
|||
@click.option("--unique", help="Make this a unique index", default=False, is_flag=True)
|
||||
@click.option(
|
||||
"--if-not-exists",
|
||||
"--ignore",
|
||||
help="Ignore if index already exists",
|
||||
default=False,
|
||||
is_flag=True,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue