Fix ORM trying to INSERT/UPDATE into body_ts.

remotes/1693176582716663532/tmp_refs/heads/watchparty
Snakes 2022-10-02 05:11:26 -04:00
parent 6d4fe3c355
commit d28281bf8f
Signed by: Snakes
GPG Key ID: E745A82778055C7E
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class Comment(Base):
realupvotes = Column(Integer, default=1)
body = Column(String)
body_html = Column(String)
body_ts = Column(TSVECTOR)
body_ts = Column(TSVECTOR(), server_default=FetchedValue())
ban_reason = Column(String)
wordle_result = Column(String)
treasure_amount = Column(String)