From 9d8a41ee4a0af6cac56943ddc0d6af147306cfba Mon Sep 17 00:00:00 2001 From: eek7574 Date: Wed, 30 Nov 2022 20:55:59 +0000 Subject: [PATCH] Add (commented out) descriptions to db --- utils/db.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/db.py b/utils/db.py index b68e38f..2957a66 100644 --- a/utils/db.py +++ b/utils/db.py @@ -103,6 +103,7 @@ class Assignments(orm.Model): "finished": orm.Boolean(default=False), "submitted": orm.Boolean(default=False), "assignees": orm.JSON(default=[]), + # "description": orm.Text(min_length=2, max_length=2000, allow_null=True, default=None), } if TYPE_CHECKING: entry_id: int @@ -117,3 +118,4 @@ class Assignments(orm.Model): finished: bool submitted: bool assignees: list[int] + # description: Optional[str]