mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-11 02:54:23 +02:00
Clearer help for --drop-foreign-key
This commit is contained in:
parent
7fdff5019d
commit
3091e6b6e9
2 changed files with 2 additions and 2 deletions
|
|
@ -356,7 +356,7 @@ See :ref:`cli_transform_table`.
|
||||||
--pk-none Remove primary key (convert to rowid table)
|
--pk-none Remove primary key (convert to rowid table)
|
||||||
--default <TEXT TEXT>... Set default value for this column
|
--default <TEXT TEXT>... Set default value for this column
|
||||||
--default-none TEXT Remove default from this column
|
--default-none TEXT Remove default from this column
|
||||||
--drop-foreign-key TEXT Drop this foreign key constraint
|
--drop-foreign-key TEXT Drop foreign key constraint for this column
|
||||||
--sql Output SQL without executing it
|
--sql Output SQL without executing it
|
||||||
--load-extension TEXT SQLite extensions to load
|
--load-extension TEXT SQLite extensions to load
|
||||||
-h, --help Show this message and exit.
|
-h, --help Show this message and exit.
|
||||||
|
|
|
||||||
|
|
@ -1964,7 +1964,7 @@ def schema(
|
||||||
"--drop-foreign-key",
|
"--drop-foreign-key",
|
||||||
type=str,
|
type=str,
|
||||||
multiple=True,
|
multiple=True,
|
||||||
help="Drop this foreign key constraint",
|
help="Drop foreign key constraint for this column",
|
||||||
)
|
)
|
||||||
@click.option("--sql", is_flag=True, help="Output SQL without executing it")
|
@click.option("--sql", is_flag=True, help="Output SQL without executing it")
|
||||||
@load_extension_option
|
@load_extension_option
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue