diff options
author | 2018-09-01 17:54:38 +0200 | |
---|---|---|
committer | 2018-09-01 17:54:38 +0200 | |
commit | 717f3804d2998618b3c345bd9cbb4b42703858c9 (patch) | |
tree | 12c2e30a29dd052d9ca5e5c1525157e4b905216f /api/migrations/0003_offtopicchannelname.py | |
parent | Add the GET route. (diff) |
Fix migration conflicts.
Diffstat (limited to 'api/migrations/0003_offtopicchannelname.py')
-rw-r--r-- | api/migrations/0003_offtopicchannelname.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/api/migrations/0003_offtopicchannelname.py b/api/migrations/0003_offtopicchannelname.py new file mode 100644 index 00000000..2f19bfd8 --- /dev/null +++ b/api/migrations/0003_offtopicchannelname.py @@ -0,0 +1,20 @@ +# Generated by Django 2.1 on 2018-08-31 22:21 + +import django.core.validators +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('api', '0002_documentationlink'), + ] + + operations = [ + migrations.CreateModel( + name='OffTopicChannelName', + fields=[ + ('name', models.CharField(max_length=96, primary_key=True, serialize=False, validators=[django.core.validators.RegexValidator(regex='^[a-z0-9-]+$')])), + ], + ), + ] |