mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-08-25 18:54:09 +02:00
add-column col_type now optional, defaults to str
This commit is contained in:
parent
557dc3f9a7
commit
3cab079d3e
6 changed files with 18 additions and 8 deletions
|
|
@ -230,7 +230,7 @@ You can add a column using the ``add-column`` command::
|
|||
|
||||
$ sqlite-utils add-column mydb.db mytable nameofcolumn text
|
||||
|
||||
The last argument here is the type of the column to be created. You can use one of ``text``, ``integer``, ``float`` or ``blob``.
|
||||
The last argument here is the type of the column to be created. You can use one of ``text``, ``integer``, ``float`` or ``blob``. If you leave it off, ``text`` will be used.
|
||||
|
||||
.. _cli_add_foreign_key:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue