mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 09:24:31 +02:00
Fixed mypy error, refs #568
This commit is contained in:
parent
0c563e2d13
commit
86a352f8b7
1 changed files with 1 additions and 1 deletions
|
|
@ -959,7 +959,7 @@ class Database:
|
|||
# Transform table to match the new definition if table already exists:
|
||||
if self[name].exists():
|
||||
if ignore:
|
||||
return self[name]
|
||||
return cast(Table, self[name])
|
||||
elif replace:
|
||||
self[name].drop()
|
||||
if transform and self[name].exists():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue