aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/api/models
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2019-08-22 21:08:32 +0200
committerGravatar Sebastiaan Zeeff <[email protected]>2019-08-22 21:08:32 +0200
commit9a5f8547b2fe5764738dcf89ed1e35b401da2c16 (patch)
tree8b846586e423c22b8a81f9e48206437373f88ffb /pydis_site/apps/api/models
parentFixing top_role bug for users without roles & adding appropriate test (diff)
Removing default value for 'position' field of Role model
Diffstat (limited to 'pydis_site/apps/api/models')
-rw-r--r--pydis_site/apps/api/models/bot/role.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/pydis_site/apps/api/models/bot/role.py b/pydis_site/apps/api/models/bot/role.py
index 777168b8..836d9f27 100644
--- a/pydis_site/apps/api/models/bot/role.py
+++ b/pydis_site/apps/api/models/bot/role.py
@@ -46,7 +46,6 @@ class Role(ModelReprMixin, models.Model):
help_text="The integer value of the permission bitset of this role from Discord."
)
position = models.IntegerField(
- default=-1,
help_text="The position of the role in the role hierarchy of the Discord Guild."
)