add-column col_type now optional, defaults to str

This commit is contained in:
Simon Willison 2019-02-24 14:24:00 -08:00
commit 3cab079d3e
6 changed files with 18 additions and 8 deletions

View file

@ -148,6 +148,7 @@ def optimize(path, no_vacuum):
type=click.Choice(
["integer", "float", "blob", "text", "INTEGER", "FLOAT", "BLOB", "TEXT"]
),
required=False,
)
def add_column(path, table, col_name, col_type):
"Add a column to the specified table"