We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4940755 commit fa6ae2bCopy full SHA for fa6ae2b
sqlite_utils/db.py
@@ -713,7 +713,7 @@ def supports_on_conflict(self) -> bool:
713
except Exception:
714
self._supports_on_conflict = False
715
finally:
716
- self.conn.execute("drop table {}".format(table_name))
+ self.conn.execute("drop table if exists {}".format(table_name))
717
return self._supports_on_conflict
718
719
@property
0 commit comments