diff options
author | 2022-11-06 02:20:11 +0100 | |
---|---|---|
committer | 2022-11-06 02:20:11 +0100 | |
commit | 5144f83c5cbd0571d1ca46f19da61860745d5f7e (patch) | |
tree | b514fa9e12f264b6dd323c8832c39d62a73fcd25 /pydis_site/apps/api/models | |
parent | Merge pull request #763 from python-discord/bot-tags (diff) |
add thread_id column to the nomination table
Diffstat (limited to 'pydis_site/apps/api/models')
-rw-r--r-- | pydis_site/apps/api/models/bot/nomination.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pydis_site/apps/api/models/bot/nomination.py b/pydis_site/apps/api/models/bot/nomination.py index 221d8534..e96177d3 100644 --- a/pydis_site/apps/api/models/bot/nomination.py +++ b/pydis_site/apps/api/models/bot/nomination.py @@ -35,6 +35,11 @@ class Nomination(ModelReprMixin, models.Model): default=False, help_text="Whether a review was made." ) + thread_id = models.BigIntegerField( + help_text="The nomination vote thread's id.", + null=True, + blank=True + ) def __str__(self): """Representation that makes the target and state of the nomination immediately evident.""" |