--ignore for sqlite-utils drop-table and drop-view, closes #237

This commit is contained in:
Simon Willison 2021-02-25 09:11:37 -08:00
commit bba6e241be
3 changed files with 36 additions and 9 deletions

View file

@ -736,6 +736,8 @@ You can drop a table using the ``drop-table`` command::
$ sqlite-utils drop-table mydb.db mytable
Use ``--ignore`` to ignore the error if the table does not exist.
.. _cli_transform_table:
Transforming tables
@ -922,6 +924,8 @@ You can drop a view using the ``drop-view`` command::
$ sqlite-utils drop-view myview
Use ``--ignore`` to ignore the error if the view does not exist.
.. _cli_add_column:
Adding columns