mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-12 11:34:09 +02:00
fix: enable-fts create triggers
This commit is contained in:
parent
d792dad1cf
commit
75577e595d
1 changed files with 2 additions and 1 deletions
|
|
@ -2266,7 +2266,8 @@ class Table(Queryable):
|
|||
new_cols=new_cols,
|
||||
)
|
||||
)
|
||||
self.db.executescript(triggers)
|
||||
with self.db.conn:
|
||||
self.db.conn.executescript(triggers)
|
||||
return self
|
||||
|
||||
def populate_fts(self, columns: Iterable[str]) -> "Table":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue