'sqlite-utils add-column name type' command, closes #15

This commit is contained in:
Simon Willison 2019-02-24 12:04:33 -08:00
commit 0bc49e938e
5 changed files with 80 additions and 8 deletions

7
tests/utils.py Normal file
View file

@ -0,0 +1,7 @@
import re
COLLAPSE_RE = re.compile(r"\s+")
def collapse_whitespace(s):
return COLLAPSE_RE.sub(" ", s)