aboutsummaryrefslogtreecommitdiff
path: root/app/models.py
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2020-07-15 16:01:33 +0100
committerrubenwardy <rw@rubenwardy.com>2020-07-15 16:01:45 +0100
commit8dd1cd9045bad112d93e58b96332c5dd1b4df996 (patch)
tree99d0e6f97f658d27262aadc7f3ea2222468a0d79 /app/models.py
parent643380038b0196dfdbfb8356439e897613f0830d (diff)
downloadcheatdb-8dd1cd9045bad112d93e58b96332c5dd1b4df996.tar.xz
Increase comment length limit to 2000
Diffstat (limited to 'app/models.py')
-rw-r--r--app/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models.py b/app/models.py
index af4b3b2..2bb6d3d 100644
--- a/app/models.py
+++ b/app/models.py
@@ -1146,7 +1146,7 @@ class Thread(db.Model):
class ThreadReply(db.Model):
id = db.Column(db.Integer, primary_key=True)
thread_id = db.Column(db.Integer, db.ForeignKey("thread.id"), nullable=False)
- comment = db.Column(db.String(500), nullable=False)
+ comment = db.Column(db.String(2000), nullable=False)
author_id = db.Column(db.Integer, db.ForeignKey("user.id"), nullable=False)
created_at = db.Column(db.DateTime, nullable=False, default=datetime.datetime.utcnow)