Simplify drop-foreign-key, and drop_foreign_keys, closes #177

This commit is contained in:
Simon Willison 2020-09-24 09:19:07 -07:00
commit 5a63b9e88c
6 changed files with 6 additions and 18 deletions

View file

@ -592,7 +592,7 @@ Every option for this table (with the exception of ``--pk-none``) can be specifi
``--default-none column``
Remove the default value for this column.
``--drop-foreign-key col other_table other_column``
``--drop-foreign-key column``
Drop the specified foreign key.
If you want to see the SQL that will be executed to make the change without actually executing it, add the ``--sql`` flag. For example::