support infinite length posts and comments (fixes #229)

This commit is contained in:
justcool393 2023-02-25 02:18:30 -08:00 committed by GitHub
parent 44919507e9
commit bfe8fb70f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 99 additions and 32 deletions

View file

@ -47,8 +47,8 @@ class Submission(Base):
title = Column(String, nullable=False)
title_html = Column(String, nullable=False)
url = Column(String)
body = Column(String)
body_html = Column(String)
body = Column(Text)
body_html = Column(Text)
flair = Column(String)
ban_reason = Column(String)
embed_url = Column(String)