diff --git a/src/models/comment.py b/src/models/comment.py index 9a6a640..f9cde24 100644 --- a/src/models/comment.py +++ b/src/models/comment.py @@ -14,4 +14,4 @@ class Comment(db.Model): item_id = db.Column(db.Integer, db.ForeignKey("item.id", ondelete="CASCADE"), nullable=False) item = db.relationship("Item", backref=db.backref("comments", lazy=True)) - text = db.Text(4096, nullable=False) + text = db.Text(4096)