fix: enable-fts create triggers

This commit is contained in:
Jacob Chapman 2022-10-11 00:07:48 -05:00 committed by GitHub
commit 75577e595d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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":