aboutsummaryrefslogtreecommitdiffstats
path: root/api/migrations/0004_role.py
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2019-04-05 12:11:31 +0100
committerGravatar Gareth Coles <[email protected]>2019-04-05 12:11:31 +0100
commitebda74029355ce3236ca9266acde40fd40329df7 (patch)
treeaba491f902c874328c88b8e7ccb9772b5414c17f /api/migrations/0004_role.py
parentSet `harakiri = 30`. (diff)
[#176] Redo project layout
Diffstat (limited to 'api/migrations/0004_role.py')
-rw-r--r--api/migrations/0004_role.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/api/migrations/0004_role.py b/api/migrations/0004_role.py
deleted file mode 100644
index 0a6b6c43..00000000
--- a/api/migrations/0004_role.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# Generated by Django 2.1 on 2018-09-01 19:54
-
-import django.core.validators
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('api', '0003_offtopicchannelname'),
- ]
-
- operations = [
- migrations.CreateModel(
- name='Role',
- fields=[
- ('id', models.BigIntegerField(help_text="The role's ID, taken from Discord.", primary_key=True, serialize=False, validators=[django.core.validators.MinValueValidator(limit_value=0, message='Role IDs cannot be negative.')])),
- ('name', models.CharField(help_text="The role's name, taken from Discord.", max_length=100)),
- ('colour', models.IntegerField(help_text='The integer value of the colour of this role from Discord.', validators=[django.core.validators.MinValueValidator(limit_value=0, message='Colour hex cannot be negative.')])),
- ('permissions', models.IntegerField(help_text='The integer value of the permission bitset of this role from Discord.', validators=[django.core.validators.MinValueValidator(limit_value=0, message='Role permissions cannot be negative.'), django.core.validators.MaxValueValidator(limit_value=8589934592, message='Role permission bitset exceeds value of having all permissions')])),
- ],
- ),
- ]