diff options
| author | 2022-03-21 14:13:42 -0500 | |
|---|---|---|
| committer | 2022-03-21 14:13:42 -0500 | |
| commit | c926ddb4d6c2d1313f51dd24d7c6e122e46f557d (patch) | |
| tree | a58b40ef3767e008d1f9a5a518f9c33a148efa8b /pydis_site/apps/api/migrations | |
| parent | Fix end of file (diff) | |
| parent | Merge #663 - bumped threads endpoint (diff) | |
Merge branch 'python-discord:main' into vps-services
Diffstat (limited to 'pydis_site/apps/api/migrations')
| -rw-r--r-- | pydis_site/apps/api/migrations/0081_bumpedthread.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pydis_site/apps/api/migrations/0081_bumpedthread.py b/pydis_site/apps/api/migrations/0081_bumpedthread.py new file mode 100644 index 00000000..03e66cc1 --- /dev/null +++ b/pydis_site/apps/api/migrations/0081_bumpedthread.py @@ -0,0 +1,22 @@ +# Generated by Django 3.1.14 on 2022-02-19 16:26 + +import django.core.validators +from django.db import migrations, models +import pydis_site.apps.api.models.mixins + + +class Migration(migrations.Migration): + + dependencies = [ + ('api', '0080_add_aoc_tables'), + ] + + operations = [ + migrations.CreateModel( + name='BumpedThread', + fields=[ + ('thread_id', models.BigIntegerField(help_text='The thread ID that should be bumped.', primary_key=True, serialize=False, validators=[django.core.validators.MinValueValidator(limit_value=0, message='Thread IDs cannot be negative.')], verbose_name='Thread ID')), + ], + bases=(pydis_site.apps.api.models.mixins.ModelReprMixin, models.Model), + ), + ] |