diff --git a/lib/core/common.py b/lib/core/common.py index 0d3f0004f..2aed77697 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -2462,7 +2462,7 @@ def parseSqliteTableSchema(value): table = {} columns = {} - for match in re.finditer(r"(\w+)\s+(TEXT|NUMERIC|INTEGER|REAL|NONE)", value): + for match in re.finditer(r"(\w+)\s+(TEXT|NUMERIC|INTEGER|REAL|NONE)\b", value, re.I): columns[match.group(1)] = match.group(2) table[conf.tbl] = columns