diff options
| author | 2019-08-15 18:24:06 +0200 | |
|---|---|---|
| committer | 2019-08-15 18:24:06 +0200 | |
| commit | 1d08bd96cb089a0881ffec2ee0e9c7f4adf5493d (patch) | |
| tree | 8815494032873c9dc62f89447df49b2b3f674c30 /pydis_site/apps/api/migrations | |
| parent | Merge pull request #235 from python-discord/ouroboros-logging-handler (diff) | |
Adding position, role hierarchy comparisons to Role model; top_role to User model
Diffstat (limited to 'pydis_site/apps/api/migrations')
| -rw-r--r-- | pydis_site/apps/api/migrations/0039_add_position_field_to_role.py | 18 |
1 files changed, 18 insertions, 0 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 new file mode 100644 index 00000000..0b8b0db3 --- /dev/null +++ b/pydis_site/apps/api/migrations/0039_add_position_field_to_role.py @@ -0,0 +1,18 @@ +# Generated by Django 2.2.3 on 2019-08-15 11:42 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('api', '0038_merge_20190719_1817'), + ] + + operations = [ + 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.'), + ), + ] |