diff options
Diffstat (limited to 'pydis_site/apps')
| -rw-r--r-- | pydis_site/apps/api/migrations/0039_add_position_field_to_role.py | 7 | 
1 files changed, 6 insertions, 1 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 2aa51f80..b6b27ff2 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,11 @@ class Migration(migrations.Migration):          migrations.AddField(              model_name='role',              name='position', -            field=models.IntegerField(help_text='The position of the role in the role hierarchy of the Discord Guild.'), +            field=models.IntegerField(default=-1, help_text='The position of the role in the role hierarchy of the Discord Guild.'),          ), +        migrations.AlterField( +            model_name='role', +            name='position', +            field=models.IntegerField(help_text='The position of the role in the role hierarchy of the Discord Guild.'), +        )      ]  |