aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site
diff options
context:
space:
mode:
Diffstat (limited to 'pydis_site')
-rw-r--r--pydis_site/apps/api/migrations/0039_add_position_field_to_role.py2
-rw-r--r--pydis_site/apps/api/models/bot/role.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/pydis_site/apps/api/migrations/0039_add_position_field_to_role.py b/pydis_site/apps/api/migrations/0039_add_position_field_to_role.py
index 0b8b0db3..2aa51f80 100644
--- a/pydis_site/apps/api/migrations/0039_add_position_field_to_role.py
+++ b/pydis_site/apps/api/migrations/0039_add_position_field_to_role.py
@@ -13,6 +13,6 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='role',
name='position',
- field=models.IntegerField(default=-1, help_text='The position of the role in the role hierarchy of the Discord Guild.'),
+ field=models.IntegerField(help_text='The position of the role in the role hierarchy of the Discord Guild.'),
),
]
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."
)