mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-28 12:54:15 +02:00
Fixed error when .transform(not_null=None)
This commit is contained in:
parent
a29ba8cf34
commit
90258748b4
1 changed files with 1 additions and 1 deletions
|
|
@ -792,7 +792,7 @@ class Table(Queryable):
|
||||||
create_table_not_null.remove(key)
|
create_table_not_null.remove(key)
|
||||||
else:
|
else:
|
||||||
create_table_not_null.add(key)
|
create_table_not_null.add(key)
|
||||||
else:
|
elif isinstance(not_null, set):
|
||||||
create_table_not_null.update(rename.get(k) or k for k in not_null)
|
create_table_not_null.update(rename.get(k) or k for k in not_null)
|
||||||
|
|
||||||
sqls.append(
|
sqls.append(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue